diff options
author | Alex Bennee <alex@bennee.com> | 2010-07-14 16:01:16 +0100 |
---|---|---|
committer | Alex Bennee <alex@bennee.com> | 2010-07-14 16:01:16 +0100 |
commit | 26b8e06374c71e42be86694f5d5c4ee920ae4d26 (patch) | |
tree | f94a09ea9cf0e006d73c0ef497f387fd0ed91ccb /src/win32/win_easytag.c | |
parent | d022d6443c6b7564ae05a3af70035822bccd0b19 (diff) |
EasyTag 2.1.4
Diffstat (limited to 'src/win32/win_easytag.c')
-rwxr-xr-x | src/win32/win_easytag.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/win32/win_easytag.c b/src/win32/win_easytag.c index cd6628d..21f4bac 100755 --- a/src/win32/win_easytag.c +++ b/src/win32/win_easytag.c @@ -360,7 +360,7 @@ static char* lcid_to_posix(LCID lcid) { */ static const char *get_locale() { const char *locale = NULL; - LCID lcid; + LCID lcid = 0; char data[10]; DWORD datalen = 10; @@ -377,6 +377,7 @@ static const char *get_locale() { return locale; } + // List of LCID : http://www.microsoft.com/globaldev/reference/lcid-all.mspx lcid = GetUserDefaultLCID(); if ((locale = lcid_to_posix(lcid))) return locale; @@ -546,7 +547,7 @@ WinMain (struct HINSTANCE__ *hInstance, struct HINSTANCE__ *hPrevInstance, snprintf(errbuf, 512, "Error loading 'easytag.dll'. Error: (%u) %s%s%s", (UINT) dw, err_msg, mod_not_found ? "\n" : "", - mod_not_found ? "This probably means that GTK+ can't be found." : ""); + mod_not_found ? "This probably means that a dependency (like GTK+, libogg or libvorbis) can't be found." : ""); printf(errbuf); MessageBox(NULL, errbuf, TEXT("Error"), MB_OK | MB_TOPMOST); |