Do some stuff
This commit is contained in:
@@ -371,10 +371,8 @@ void generate_string(TextEditor *editor) {
|
||||
|
||||
for (int i = 0; i < editor->maxLines; i++) {
|
||||
if (editor->lines[i].active) {
|
||||
if (strlen(editor->lines[i].text)) {
|
||||
strcat(editor->outputString, editor->lines[i].text);
|
||||
strcat(editor->outputString, "\n");
|
||||
}
|
||||
strcat(editor->outputString, editor->lines[i].text);
|
||||
strcat(editor->outputString, "\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user