summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--edit.c2
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':');
}