replace \" with "" in rc files

fix non standard C code

svn path=/trunk/; revision=36353
This commit is contained in:
Christoph von Wittich 2008-09-20 14:55:49 +00:00
parent 64048965fe
commit 8c33fab48b
8 changed files with 22 additions and 22 deletions

View file

@ -86,6 +86,7 @@ AllSysInfo(VOID)
TCHAR Buf[BUFFER_SIZE],Tmp[BUFFER_SIZE], Msg[BUFFER_SIZE];
MEMORYSTATUS memory;
unsigned int DIV = 1024;
TIME_ZONE_INFORMATION TimeZoneInfo;
GetSystemInfo(&SysInfo);
@ -201,8 +202,8 @@ AllSysInfo(VOID)
//getting Processor(s)
if(GetOemStrings(IDS_PROCESSORS,Msg))
{
fprintf(stderr,Msg,(unsigned int)SysInfo.dwNumberOfProcessors);
unsigned int i;
fprintf(stderr,Msg,(unsigned int)SysInfo.dwNumberOfProcessors);
for(i = 0; i < (unsigned int)SysInfo.dwNumberOfProcessors; i++)
{
sprintf(Tmp,"HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\%u",i);
@ -275,7 +276,6 @@ AllSysInfo(VOID)
}
//getting Time Zone
TIME_ZONE_INFORMATION TimeZoneInfo;
GetTimeZoneInformation(&TimeZoneInfo);
sprintf(Tmp,"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones\\%S",TimeZoneInfo.StandardName);
if (GetRegistryValue(HKEY_LOCAL_MACHINE,