X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fgetopt.cpp;h=e4f00ffceeeda967d8c16357a32269c1dbe77634;hp=67c4d4171d1ada94d8077f461175c40878fed669;hb=0fe166c896d2b7d7214e0c9c4add53e47d2ace88;hpb=20e1beb546c26eae3b1a61ab2051108a7dca221f diff --git a/source/core/getopt.cpp b/source/core/getopt.cpp index 67c4d41..e4f00ff 100644 --- a/source/core/getopt.cpp +++ b/source/core/getopt.cpp @@ -150,7 +150,7 @@ unsigned GetOpt::process_long(const char *const *argp) // See if the argument contains an = unsigned equals=0; - for(; arg[equals] && arg[equals]!='='; ++equals); + for(; arg[equals] && arg[equals]!='='; ++equals) ; OptBase &opt=get_option(string(arg, equals));