From 6f6c10491ce0e973fe8328508fe2a232c2189016 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 4 Oct 2009 14:18:38 +0200 Subject: Move runtime inline function to inline file --- cli/options.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/options.cxx') diff --git a/cli/options.cxx b/cli/options.cxx index d92af58..d5e7e67 100644 --- a/cli/options.cxx +++ b/cli/options.cxx @@ -393,7 +393,7 @@ _parse (int start, { start += (*(i->second)) (*this, argv + start, argc - start); } - else if (opt && s[0] == '-' && s[1] != '\0') + else if (opt && std::strncmp (s, "-", 1) == 0 && s[1] != '\0') { switch (opt_mode) { -- cgit v1.1