aboutsummaryrefslogtreecommitdiff
path: root/src/label.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-04-20 09:48:51 +0100
committerIan C <ianc@noddybox.co.uk>2016-04-20 09:48:51 +0100
commit519fdd7d64c2d8366a3b3b076a1ec558f63e703e (patch)
tree71f3b3f6a435a8825868f1e5138041fd8d4d1eb0 /src/label.c
parenta5984e6f82e9368e719e832764ebb4813ff5e797 (diff)
Removed modulus and added '%' as a binary format marker.
Diffstat (limited to 'src/label.c')
-rw-r--r--src/label.c2
1 files changed, 1 insertions, 1 deletions
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')
{