gst: Fix typo in windows function name.
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 27 Sep 2017 11:01:13 +0000 (13:01 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Wed, 27 Sep 2017 11:56:15 +0000 (13:56 +0200)
GetModuleFilename -> GetModuleFileName

https://bugzilla.gnome.org/show_bug.cgi?id=788234

gst/gst.c

index c542766..c674708 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -340,7 +340,7 @@ find_executable_path (void)
 {
   char buffer[MAX_PATH];
 
-  if (!GetModuleFilename (NULL, buffer, MAX_PATH))
+  if (!GetModuleFileName (NULL, buffer, MAX_PATH))
     return;
 
   _gst_executable_path = g_strdup (buffer);