From 519fdd7d64c2d8366a3b3b076a1ec558f63e703e Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 20 Apr 2016 09:48:51 +0100 Subject: Removed modulus and added '%' as a binary format marker. --- src/label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/label.c') diff --git a/src/label.c b/src/label.c index 75270ef..0807128 100644 --- a/src/label.c +++ b/src/label.c @@ -283,7 +283,7 @@ int LabelExpand(const char *expr, int *result) } else if (first == '%') { - found = ParseBase(expr, 2, result, '\0'); + found = ParseBase(expr + 1, 2, result, '\0'); } else if (last == 'b' || last == 'B') { -- cgit v1.2.3