aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/win32/win_easytag.c
diff options
context:
space:
mode:
authorGravatar Alex Bennee <alex@bennee.com>2010-07-14 16:01:16 +0100
committerGravatar Alex Bennee <alex@bennee.com>2010-07-14 16:01:16 +0100
commit26b8e06374c71e42be86694f5d5c4ee920ae4d26 (patch)
treef94a09ea9cf0e006d73c0ef497f387fd0ed91ccb /src/win32/win_easytag.c
parentd022d6443c6b7564ae05a3af70035822bccd0b19 (diff)
EasyTag 2.1.4
Diffstat (limited to 'src/win32/win_easytag.c')
-rwxr-xr-xsrc/win32/win_easytag.c5
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);