Fix formatting crash

This commit is contained in:
Krzosa Karol
2026-02-01 11:16:14 +01:00
parent bbf97eba2f
commit bc7c52e1ec

View File

@@ -71,7 +71,7 @@ void UpdateStatusWindow() {
String commands = Format(scratch, ":Errors[%d]", ErrorCount);
if (main.buffer->changed_on_disk) {
commands = Format(scratch, "%S :Reopen");
commands = Format(scratch, "%S :Reopen", commands);
}
For (ActiveProcesses) {
if (it.view_id == main.view->id.id) {