From dacd24e52495a89a1a13c9052c150a5e362207ce Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Mon, 26 Jan 2004 00:47:56 +0000 Subject: [PATCH] Make strupr code unambiguous git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@752 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/config.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/config.c b/kernel/config.c index 00b84a9..001705f 100644 --- a/kernel/config.c +++ b/kernel/config.c @@ -1672,8 +1672,10 @@ STATIC COUNT toupper(COUNT c) /* Convert string s to uppercase */ STATIC VOID strupr(char *s) { - while (*s) - *s++ = toupper(*s); + while (*s) { + *s = toupper(*s); + s++; + } } /* The following code is 8086 dependant */