From 2be5a1e3da05caee88bc92f2abec223cc999c1f0 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Mon, 25 Nov 2013 20:33:52 +0100 Subject: Enable backwards reading in list command --- phpdbg_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpdbg_utils.c') diff --git a/phpdbg_utils.c b/phpdbg_utils.c index 2c73f9b55b..5a922e8e53 100644 --- a/phpdbg_utils.c +++ b/phpdbg_utils.c @@ -69,7 +69,7 @@ PHPDBG_API int phpdbg_is_numeric(const char *str) /* {{{ */ return 0; for (; *str; str++) { - if (isspace(*str)) { + if (isspace(*str) || *str == '-') { continue; } return isdigit(*str); -- cgit v1.2.1