diff options
author | June McEnroe <june@causal.agency> | 2018-09-13 01:50:46 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-09-13 01:50:46 -0400 |
commit | 8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1 (patch) | |
tree | 18ac8047ff78def0e0c6c22002b09d3016b03ab1 | |
parent | Rewrite UI again (diff) | |
download | catgirl-8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1.tar.gz catgirl-8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1.zip |
Fix weird tab-complete after comma
I have no idea why I did this.
Diffstat (limited to '')
-rw-r--r-- | edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c index 38ee843..88301f6 100644 --- a/edit.c +++ b/edit.c @@ -125,7 +125,7 @@ static void complete(struct Tag tag) { if (!pos && line.tab[0] != L'/') { insert(L':'); } else if (pos >= 2) { - if (line.buf[pos - 2] == L':' || line.buf[pos - 2] == L',') { + if (line.buf[pos - 2] == L':') { line.buf[pos - 2] = L','; insert(L':'); } |