1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 14:45:07 +00:00

TextEditor: Use new format functions.

This commit is contained in:
asynts 2020-10-06 19:25:44 +02:00 committed by Andreas Kling
parent 712e348fad
commit ff3552bb14
2 changed files with 13 additions and 13 deletions

View file

@ -76,7 +76,7 @@ int main(int argc, char** argv)
} else if (preview_mode_view == "none") {
text_widget.set_preview_mode(TextEditorWidget::PreviewMode::None);
} else {
fprintf(stderr, "Invalid mode '%s'\n", preview_mode);
warnln("Invalid mode '{}'", preview_mode);
return 1;
}