summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/echo.c b/src/echo.c
index a286a5189..5f8582cc0 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -218,12 +218,12 @@ just_echo:
case 'x':
{
unsigned char ch = *s;
- if (! ISXDIGIT (ch))
+ if (! isxdigit (ch))
goto not_an_escape;
s++;
c = hextobin (ch);
ch = *s;
- if (ISXDIGIT (ch))
+ if (isxdigit (ch))
{
s++;
c = c * 16 + hextobin (ch);