mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-18 19:51:57 +02:00
win32: spelling fix
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
1cd7d1ade2
commit
f9be7d2bb5
@ -624,7 +624,7 @@ g_win32_get_windows_version (void)
|
|||||||
* gettext initialization.
|
* gettext initialization.
|
||||||
*/
|
*/
|
||||||
static gchar *
|
static gchar *
|
||||||
special_wchar_to_locale_enoding (wchar_t *wstring)
|
special_wchar_to_locale_encoding (wchar_t *wstring)
|
||||||
{
|
{
|
||||||
int sizeof_output;
|
int sizeof_output;
|
||||||
int wctmb_result;
|
int wctmb_result;
|
||||||
@ -701,7 +701,7 @@ g_win32_locale_filename_from_utf8 (const gchar *utf8filename)
|
|||||||
if (wname == NULL)
|
if (wname == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
retval = special_wchar_to_locale_enoding (wname);
|
retval = special_wchar_to_locale_encoding (wname);
|
||||||
|
|
||||||
if (retval == NULL)
|
if (retval == NULL)
|
||||||
{
|
{
|
||||||
@ -709,7 +709,7 @@ g_win32_locale_filename_from_utf8 (const gchar *utf8filename)
|
|||||||
wchar_t wshortname[MAX_PATH + 1];
|
wchar_t wshortname[MAX_PATH + 1];
|
||||||
|
|
||||||
if (GetShortPathNameW (wname, wshortname, G_N_ELEMENTS (wshortname)))
|
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);
|
g_free (wname);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user