mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
replace \" with "" in rc files
fix non standard C code svn path=/trunk/; revision=36353
This commit is contained in:
parent
64048965fe
commit
8c33fab48b
8 changed files with 22 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue