diff --git a/golded3/gemsgs.cpp b/golded3/gemsgs.cpp index f00b29e..05b3ca4 100644 --- a/golded3/gemsgs.cpp +++ b/golded3/gemsgs.cpp @@ -421,13 +421,13 @@ void LoadText(GMsg* msg, const char* textfile) { while(fgets(buf, PBUFSIZE, fp)) { strsrep(buf, "\t", tabspaces); // Expand tabs - if(strneql(buf, hardline, hardlen)) { + if(EDIT->HardLines() and strneql(buf, hardline, hardlen)) { hardcr = not hardcr; if(*txtptr == LF) *txtptr = CR; if(*txtptr) txtptr++; - strcpy(buf, "\r"); + continue; } else { ptr = buf;