Fix formatting crash
This commit is contained in:
@@ -71,7 +71,7 @@ void UpdateStatusWindow() {
|
|||||||
|
|
||||||
String commands = Format(scratch, ":Errors[%d]", ErrorCount);
|
String commands = Format(scratch, ":Errors[%d]", ErrorCount);
|
||||||
if (main.buffer->changed_on_disk) {
|
if (main.buffer->changed_on_disk) {
|
||||||
commands = Format(scratch, "%S :Reopen");
|
commands = Format(scratch, "%S :Reopen", commands);
|
||||||
}
|
}
|
||||||
For (ActiveProcesses) {
|
For (ActiveProcesses) {
|
||||||
if (it.view_id == main.view->id.id) {
|
if (it.view_id == main.view->id.id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user