From ee91571aff3789330eb66a85e0a59247e93573a1 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 24 Oct 2004 10:03:29 +0000 Subject: [PATCH] messed up one function with the last signed/unsigned things. (Moe) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2039 --- src/misc/support.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/support.cpp b/src/misc/support.cpp index 993477b7..4f362477 100644 --- a/src/misc/support.cpp +++ b/src/misc/support.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: support.cpp,v 1.26 2004-10-17 14:54:41 qbix79 Exp $ */ +/* $Id: support.cpp,v 1.27 2004-10-24 10:03:29 qbix79 Exp $ */ #include #include @@ -84,7 +84,7 @@ bool ScanCMDBool(char * cmd,char * check) { char * ScanCMDRemain(char * cmd) { char * scan,*found;; if ((scan=found=strchr(cmd,'/'))) { - while (*scan && isspace(*reinterpret_cast(scan))!=0) scan++; + while ( *scan && !isspace(*reinterpret_cast(scan)) ) scan++; *scan=0; return found; } else return 0;