Author: janderwald
Date: Sat Jul 14 14:28:58 2007
New Revision: 27648
URL:
http://svn.reactos.org/svn/reactos?rev=27648&view=rev
Log:
- fix commandline arguments
Modified:
trunk/reactos/tools/sysreg/sysreg.cpp
Modified: trunk/reactos/tools/sysreg/sysreg.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/sysreg.cpp?re…
==============================================================================
--- trunk/reactos/tools/sysreg/sysreg.cpp (original)
+++ trunk/reactos/tools/sysreg/sysreg.cpp Sat Jul 14 14:28:58 2007
@@ -34,7 +34,7 @@
TCHAR DefaultConfig[] = _T("sysreg.cfg");
TCHAR *ConfigFile;
- if ((argc >= 2))
+ if ((argc > 2))
{
cerr << USAGE << endl;
return -1;
@@ -50,7 +50,6 @@
{
ConfigFile = DefaultConfig;
}
-
if (!config.parseFile (ConfigFile))
{