summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc.scim2/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src.scim2/file.c b/src.scim2/file.c
index 08edd99..2d23424 100755
--- a/src.scim2/file.c
+++ b/src.scim2/file.c
@@ -790,7 +790,7 @@ int import_csv(char * fname, char d) {
loading = 1;
// Check max length of line
- int max = max_length(f);
+ int max = max_length(f) + 1;
char line_in[max];
rewind(f);