src/win_gaim.c

changeset 13591
eae244b16a10
parent 13529
074c6ed5e547
equal deleted inserted replaced
13590:acb28dec1a40 13591:eae244b16a10
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) &regval, 204 (LPBYTE) &regval,
205 &reglen); 205 &reglen);
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 }

mercurial