diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-24 23:10:58 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-24 23:10:58 +0200 |
commit | be75b391231ae7b00c290af930cd885116fb620f (patch) | |
tree | dbe329153af2ffa0fe00e0a849f2f9c7618b8c2c | |
parent | 1ab7bf9651302d4228a2353230522c8750da90d9 (diff) | |
download | mblaze-be75b391231ae7b00c290af930cd885116fb620f.tar.gz mblaze-be75b391231ae7b00c290af930cd885116fb620f.tar.xz mblaze-be75b391231ae7b00c290af930cd885116fb620f.zip |
seq: fix parsing of plain .
-rw-r--r-- | seq.c | 2 |
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"; |