* sebugger/mcs51/sdcdb.c: replaced isblank() with isspace()
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 20 Oct 2006 07:34:06 +0000 (07:34 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 20 Oct 2006 07:34:06 +0000 (07:34 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4419 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
debugger/mcs51/sdcdb.c

index 959c247beeac32500725188f0b55a5e5ef758569..f0d4d1cba8dbb01bfa62d0bc11c186c4471823e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-20 Borut Razem <borut.razem AT siol.net>
+
+       * sebugger/mcs51/sdcdb.c: replaced isblank() with isspace()
+
 2006-10-19 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * device/lib/gbz80/crt0.s,
index 1c0344375535eca34a265edd0abced4f53410cd1..eb598461192868e79ea9384ac5b9f77ffd4a9c78 100644 (file)
@@ -977,12 +977,12 @@ int completionHelper_GetTokenNumber(int toknum, int *start, int *end)
     {
         // start = skip blanks from end
         *start = *end;
-        while (p[*start] && isblank( p[*start] ))
+        while (p[*start] && isspace( p[*start] ))
             (*start)++;
 
         // end = skip non-blanks from start
         *end = *start;
-        while (p[*end] && !isblank( p[*end] ))
+        while (p[*end] && !isspace( p[*end] ))
             (*end)++;
 
         if (tok_index == toknum)
@@ -1051,14 +1051,14 @@ char *completionCommandsList(const char *text, int state)
         char *p = rl_line_buffer;
 
         // skip blanks
-        while (p && isblank(*p))
+        while (p && isspace(*p))
         {
             if (p-rl_line_buffer == rl_point)
                 ok = 1;
             p++;
         }
 
-        while (p && !isblank(*p))
+        while (p && !isspace(*p))
         {
             if (p-rl_line_buffer == rl_point)
                 ok = 1;