Mercurial > pidgin
comparison src/win_gaim.c @ 13590:7b20cedc1259
[gaim-migrate @ 15976]
Add support for the unofficial languageID used by NSIS.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 07 Apr 2006 00:34:01 +0000 |
parents | fe9f41df4b0e |
children |
comparison
equal
deleted
inserted
replaced
13589:6ea890a0dd1e | 13590:7b20cedc1259 |
---|---|
195 strcmp(osinfo.szCSDVersion, "") >= 0) | 195 strcmp(osinfo.szCSDVersion, "") >= 0) |
196 ) { | 196 ) { |
197 DWORD regval = 1; | 197 DWORD regval = 1; |
198 DWORD reglen = sizeof(DWORD); | 198 DWORD reglen = sizeof(DWORD); |
199 | 199 |
200 printf("Using Win2k (SP3+) / WinXP (No SP).. Checking SafeDllSearch\n"); | 200 printf("Using Win2k (SP3+) / WinXP (No SP)... Checking SafeDllSearch\n"); |
201 read_reg_string(HKEY_LOCAL_MACHINE, | 201 read_reg_string(HKEY_LOCAL_MACHINE, |
202 "System\\CurrentControlSet\\Control\\Session Manager", | 202 "System\\CurrentControlSet\\Control\\Session Manager", |
203 "SafeDllSearchMode", | 203 "SafeDllSearchMode", |
204 (LPBYTE) ®val, | 204 (LPBYTE) ®val, |
205 ®len); | 205 ®len); |
357 /* Deal with exceptions */ | 357 /* Deal with exceptions */ |
358 if (posix == NULL) { | 358 if (posix == NULL) { |
359 switch (lcid) { | 359 switch (lcid) { |
360 case 2125: posix = "my_MM"; break; /* Myanmar (Burmese) */ | 360 case 2125: posix = "my_MM"; break; /* Myanmar (Burmese) */ |
361 case 1076: posix = "xh"; break; /* Xhosa */ | 361 case 1076: posix = "xh"; break; /* Xhosa */ |
362 case 9999: posix = "ku"; break; /* Kurdish (from NSIS) */ | |
362 } | 363 } |
363 } | 364 } |
364 | 365 |
365 return posix; | 366 return posix; |
366 } | 367 } |