Do some stuff

This commit is contained in:
2025-02-18 14:44:08 +01:00
parent 4d3755e2ce
commit 8f46a76fd4
21 changed files with 649 additions and 150 deletions

View File

@@ -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");
}
}
}