about summary refs log tree commit diff
path: root/seq.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-24 23:10:58 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-24 23:10:58 +0200
commitbe75b391231ae7b00c290af930cd885116fb620f (patch)
treedbe329153af2ffa0fe00e0a849f2f9c7618b8c2c /seq.c
parent1ab7bf9651302d4228a2353230522c8750da90d9 (diff)
downloadmblaze-be75b391231ae7b00c290af930cd885116fb620f.tar.gz
mblaze-be75b391231ae7b00c290af930cd885116fb620f.tar.xz
mblaze-be75b391231ae7b00c290af930cd885116fb620f.zip
seq: fix parsing of plain .
Diffstat (limited to 'seq.c')
-rw-r--r--seq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/seq.c b/seq.c
index b48b625..619a118 100644
--- a/seq.c
+++ b/seq.c
@@ -166,6 +166,8 @@ parse_relnum(char *a, long cur, long last, long *out)
 		a = ".+1";
 	else if (strcmp(a, "-") == 0)
 		a = ".-1";
+	else if (strcmp(a, ".") == 0)
+		a = ".+0";
 	else if (strcmp(a, "$") == 0)
 		a = "-1";