From 6ea639a716b4deca8d3fef6adbd85714892c412a Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Fri, 11 Aug 2017 22:27:34 +0800 Subject: [PATCH] Removed no longer necessary negative check (#8194) --- libr/bin/bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/bin/bin.c b/libr/bin/bin.c index 5958a6a428..dfa945512a 100644 --- a/libr/bin/bin.c +++ b/libr/bin/bin.c @@ -309,7 +309,7 @@ static int string_scan_range(RList *list, const ut8 *buf, int min, runes++; /* Print the escape code */ } else if (r && r < 0x100 && strchr ("\b\v\f\n\r\t\a\e", (char)r)) { - if ((i + 32) < sizeof (tmp) && r < 28 && r > 0) { + if ((i + 32) < sizeof (tmp) && r < 28) { tmp[i + 0] = '\\'; tmp[i + 1] = " abtnvfr e"[r]; } else {