aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorM.Gergő2020-05-14 03:24:24 +0200
committerM.Gergő2020-05-14 03:24:24 +0200
commit286199e71f65b44d16e3684501935ec5b9556e9a (patch)
treeb904e4a8263c1aa7154081dd25ff60e359b58e75 /src/main.c
parent0026bdb684cd610be6a7f8499db8920ee1579c1b (diff)
downloadlightconfini-286199e71f65b44d16e3684501935ec5b9556e9a.tar.gz
lightconfini-286199e71f65b44d16e3684501935ec5b9556e9a.zip
some refactoring
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a003c66..0617d91 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,7 +24,7 @@ int main(int argc, char* argv[]){
fp = fopen(filename, "rb");
- len = getFileMaxLineLen(fp)+0;
+ len = getFileMaxLineLen(fp)+1;
if(fp != NULL) { fclose(fp);}
len = 24000; //Debug