This commit is contained in:
Connor Lane Smith committed 2011-05-18 17:01:44 +01:00
1 parent b028ec0e07
commit 2103ae2891
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -219,7 +219,7 @@ insert(const char *str, ssize_t n) {
if(n > 0)
memcpy(&text[cursor], str, n);
cursor += n;
match(n > 0);
match(n > 0 && text[cursor] == '\0');
}
void