Index: base/newspost.c =================================================================== --- a/base/newspost.c +++ b/base/newspost.c 2012-06-05 09:37:25.409145467 +0200 @@ -342,7 +342,7 @@ file = fopen(filename, "r"); if (file != NULL) { while (!feof(file)) { - line = getline(line, file); + line = getcode(line, file); if(line == NULL){ text_buffer = buff_add(text_buffer, "\r\n"); continue; Index: base/utils.c =================================================================== --- a/base/utils.c +++ b/base/utils.c 2012-06-05 09:39:11.556818438 +0200 @@ -43,7 +43,7 @@ return NULL; } -Buff * getline(Buff *buff, FILE *file){ +Buff * getcode(Buff *buff, FILE *file){ char c = fgetc(file); buff = buff_free(buff); while(TRUE){ Index: base/utils.h =================================================================== --- a/base/utils.h +++ b/base/utils.h 2012-06-05 09:38:12.227560156 +0200 @@ -26,7 +26,7 @@ file_entry * file_entry_alloc(); file_entry * file_entry_free(file_entry *fe); -Buff * getline(Buff *buff, FILE *file); +Buff * getcode(Buff *buff, FILE *file); Buff *buff_add(Buff *buff, char *data, ... ); Buff * buff_free(Buff *buff); Buff *buff_create(Buff *buff, char *data, ... ); Index: ui/options.c =================================================================== --- a/ui/options.c +++ b/ui/options.c 2012-06-05 09:39:37.394495422 +0200 @@ -332,7 +332,7 @@ file = fopen(filename->data, "r"); if (file != NULL) { while (!feof(file)) { - line = getline(line, file); + line = getcode(line, file); linenum++; if(line == NULL) continue; @@ -429,7 +429,7 @@ linenum = 0; while (linenum < 8) { linenum++; - line = getline(line, file); + line = getcode(line, file); if(line == NULL) continue; switch (linenum) {