replace \" with "" in rc files
authorChristoph von Wittich <christoph_vw@reactos.org>
Sat, 20 Sep 2008 14:55:49 +0000 (14:55 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Sat, 20 Sep 2008 14:55:49 +0000 (14:55 +0000)
fix non standard C code

svn path=/trunk/; revision=36353

rosapps/applications/sysutils/systeminfo/lang/en-US.rc
rosapps/applications/sysutils/systeminfo/lang/es-ES.rc
rosapps/applications/sysutils/systeminfo/lang/fr-FR.rc
rosapps/applications/sysutils/systeminfo/lang/no-NO.rc
rosapps/applications/sysutils/systeminfo/lang/pl-PL.rc
rosapps/applications/sysutils/systeminfo/lang/sk-SK.rc
rosapps/applications/sysutils/systeminfo/lang/uk-UA.rc
rosapps/applications/sysutils/systeminfo/systeminfo.c

index a6e28ec..503e691 100644 (file)
@@ -15,10 +15,10 @@ Parameter List:\n\
                           user context. Prompts for input if omitted.\n\n\
   /FO     format           Specifies the format in which the output\n\
                           is to be displayed.\n\
-                          Valid values: \"TABLE\", \"LIST\", \"CSV\".\n\n\
-  /NH                      Specifies that the \"Column Header\" should\n\
+                          Valid values: ""TABLE"", ""LIST"", ""CSV"".\n\n\
+  /NH                      Specifies that the ""Column Header"" should\n\
                           not be displayed in the output.\n\
-                          Valid only for \"TABLE\" and \"CSV\" formats.\n\n\
+                          Valid only for ""TABLE"" and ""CSV"" formats.\n\n\
   /?                       Displays this help/usage.\n\n\
 Examples:\n\
   SYSTEMINFO\n\
index ad365e1..13e3589 100644 (file)
@@ -20,10 +20,10 @@ Lista de Parametros:\n\
                              Pregunta por ella si es omitida.\n\n\
   /FO     formato             Especifica el formato en el que la salida\n\
                              será mostrada.\n\
-                             Valores válidos: \"TABLE\", \"LIST\", \"CSV\".\n\n\
-  /NH                         Especifica que la \"Columna cabezera\" no será\n\
+                             Valores válidos: ""TABLE"", ""LIST"", ""CSV"".\n\n\
+  /NH                         Especifica que la ""Columna cabezera"" no será\n\
                              mostrada en la salida.\n\
-                             Válido sólo para formatos \"TABLE\" y \"CSV\" .\n\n\
+                             Válido sólo para formatos ""TABLE"" y ""CSV"" .\n\n\
   /?                          Muestra esta ayuda.\n\n\
 Ejemplos:\n\
   SYSTEMINFO\n\
index e9880a6..fdf0b2c 100644 (file)
@@ -15,10 +15,10 @@ Parameter List:\n\
                           fourni. Le demande si ommis.\n\n\\r
   /FO     format           Spécifie le format dans lequel la sortie\n\\r
                           doit être affichée.\n\\r
-                          Valeurs valides: \"TABLE\", \"LIST\", \"CSV\".\n\n\\r
-  /NH                      Spécifie que \"L'entête de colonne\" ne doit\n\\r
+                          Valeurs valides: ""TABLE"", ""LIST"", ""CSV"".\n\n\\r
+  /NH                      Spécifie que ""L'entête de colonne"" ne doit\n\\r
                           pas être affiché dans la sortie.\n\\r
-                          Valide uniquement pour les format \"TABLE\" et \"CSV\".\n\n\\r
+                          Valide uniquement pour les format ""TABLE"" et ""CSV"".\n\n\\r
   /?                       Affiche cette aide.\n\n\\r
 Exemples:\n\\r
   SYSTEMINFO\n\\r
index b6e7093..2f862a3 100644 (file)
@@ -15,10 +15,10 @@ Parameter liste:\n\
                           bruker sammenheng. Prompts for input if omitted.\n\n\
   /FO     format           Spesifisere formatet som i utgående\n\
                           som skal vises.\n\
-                          Gyldige verdier: \"TABLE\", \"LIST\", \"CSV\".\n\n\
-  /NH                      Spesifisere at \"Column Header\" skal\n\
+                          Gyldige verdier: ""TABLE"", ""LIST"", ""CSV"".\n\n\
+  /NH                      Spesifisere at ""Column Header"" skal\n\
                           ikke vises i utgående.\n\
-                          Gyldig for bare \"TABLE\" og \"CSV\" formater.\n\n\
+                          Gyldig for bare ""TABLE"" og ""CSV"" formater.\n\n\
   /?                       Vis denne hjelp/bruk meldingen.\n\n\
 Eksempler:\n\
   SYSTEMINFO\n\
index 5540bc6..69cd754 100644 (file)
@@ -22,10 +22,10 @@ Lista parametr
                           Program sam zapyta o has³o, je\9cli nie jest podane.\n\n\
   /FO     format           Wyznacza format w którym wy\9cwietlone zostan¹\n\
                           informacje o systemie.\n\
-                          Dostêpne formaty: \"TABLE\", \"LIST\", \"CSV\".\n\n\
-  /NH                      Blokuje wy\9cwietlanie kolumny \"Column Header\" w\n\
+                          Dostêpne formaty: ""TABLE"", ""LIST"", ""CSV"".\n\n\
+  /NH                      Blokuje wy\9cwietlanie kolumny ""Column Header"" w\n\
                           informacjach systemowych.\n\
-                          Dzia³a tylko z formatami \"TABLE\" i \"CSV\".\n\n\
+                          Dzia³a tylko z formatami ""TABLE"" i ""CSV"".\n\n\
   /?                       Wy\9cwietla niniejszy tekst pomocy.\n\n\
 Przyk³ady:\n\
   SYSTEMINFO\n\
index de1b063..abdb09d 100644 (file)
@@ -19,10 +19,10 @@ Parameter List:\n\
                           user context. Prompts for input if omitted.\n\n\
   /FO     form t           Specifies the format in which the output\n\
                           is to be displayed.\n\
-                          Valid values: \"TABLE\", \"LIST\", \"CSV\".\n\n\
-  /NH                      Specifies that the \"Column Header\" should\n\
+                          Valid values: ""TABLE"", ""LIST"", ""CSV"".\n\n\
+  /NH                      Specifies that the ""Column Header"" should\n\
                           not be displayed in the output.\n\
-                          Valid only for \"TABLE\" and \"CSV\" formats.\n\n\
+                          Valid only for ""TABLE"" and ""CSV"" formats.\n\n\
   /?                       Displays this help/usage.\n\n\
 Examples:\n\
   SYSTEMINFO\n\
index 31370d7..3dc6200 100644 (file)
@@ -23,10 +23,10 @@ IDS_USAGE, "SYSTEMINFO [/S 
                           Çàïðîøóº ââåäåííÿ ïàðîëÿ, ÿêùî â³í íå çàäàíèé.\n\n\
   /FO     ôîðìàò           Âèçíà÷ຠôîðìàò, â ÿêîìó â³äîáðàæàþòüñÿ\n\
                           âèõ³äí³ äàí³.\n\
-                          Äîïóñòèì³ ôîðìàòè: \"TABLE\", \"LIST\", \"CSV\".\n\n\
+                          Äîïóñòèì³ ôîðìàòè: ""TABLE"", ""LIST"", ""CSV"".\n\n\
   /NH                      Íå â³äîáðàæàòè çàãîëîâêè ñòîâïö³â\n\
                           âèõ³äíèõ äàíèõ.\n\
-                          Äîïóñêàºòüñÿ äëÿ ôîðìàò³â \"TABLE\" and \"CSV\".\n\n\
+                          Äîïóñêàºòüñÿ äëÿ ôîðìàò³â ""TABLE"" and ""CSV"".\n\n\
   /?                       Ïîêàçóº öþ äîâ³äêó.\n\n\
 Ïðèêëàäè:\n\
   SYSTEMINFO\n\
index e7d8680..fac6e5f 100644 (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,