[glib: 1/2] win32: spelling fix



commit f9be7d2bb56ac547828711cb987ded9dc658451c
Author: Marc-André Lureau <marcandre lureau redhat com>
Date:   Mon Sep 16 16:06:38 2019 +0400

    win32: spelling fix
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 glib/gwin32.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/gwin32.c b/glib/gwin32.c
index f2a5f3765..48574ec0a 100644
--- a/glib/gwin32.c
+++ b/glib/gwin32.c
@@ -624,7 +624,7 @@ g_win32_get_windows_version (void)
  * gettext initialization.
  */
 static gchar *
-special_wchar_to_locale_enoding (wchar_t *wstring)
+special_wchar_to_locale_encoding (wchar_t *wstring)
 {
   int sizeof_output;
   int wctmb_result;
@@ -701,7 +701,7 @@ g_win32_locale_filename_from_utf8 (const gchar *utf8filename)
   if (wname == NULL)
     return NULL;
 
-  retval = special_wchar_to_locale_enoding (wname);
+  retval = special_wchar_to_locale_encoding (wname);
 
   if (retval == NULL)
     {
@@ -709,7 +709,7 @@ g_win32_locale_filename_from_utf8 (const gchar *utf8filename)
       wchar_t wshortname[MAX_PATH + 1];
 
       if (GetShortPathNameW (wname, wshortname, G_N_ELEMENTS (wshortname)))
-        retval = special_wchar_to_locale_enoding (wshortname);
+        retval = special_wchar_to_locale_encoding (wshortname);
     }
 
   g_free (wname);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]