diff --git a/include/inline/stringops.h b/include/inline/stringops.h
index 61fe140c6..9b74bfd35 100644
--- a/include/inline/stringops.h
+++ b/include/inline/stringops.h
@@ -39,15 +39,15 @@ strip_colour(char *string)
 		switch (*c)
 		{
 		case 3:
-			if(isdigit(c[1]))
+			if(IsDigit(c[1]))
 			{
 				c++;
-				if(isdigit(c[1]))
+				if(IsDigit(c[1]))
 					c++;
-				if(c[1] == ',' && isdigit(c[2]))
+				if(c[1] == ',' && IsDigit(c[2]))
 				{
 					c += 2;
-					if(isdigit(c[1]))
+					if(IsDigit(c[1]))
 						c++;
 				}
 			}
@@ -91,15 +91,15 @@ strip_unprintable(char *string)
 		switch (*c)
 		{
 		case 3:
-			if(isdigit(c[1]))
+			if(IsDigit(c[1]))
 			{
 				c++;
-				if(isdigit(c[1]))
+				if(IsDigit(c[1]))
 					c++;
-				if(c[1] == ',' && isdigit(c[2]))
+				if(c[1] == ',' && IsDigit(c[2]))
 				{
 					c += 2;
-					if(isdigit(c[1]))
+					if(IsDigit(c[1]))
 						c++;
 				}
 			}