diff options
Diffstat (limited to 'src/assert.cc')
| -rw-r--r-- | src/assert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assert.cc b/src/assert.cc index b193f595..eeb4b36e 100644 --- a/src/assert.cc +++ b/src/assert.cc @@ -38,7 +38,7 @@ bool notify_fatal_error(const String& msg) return true; } #elif defined(__linux__) - auto cmd = "xmessage -buttons 'quit:0,ignore:1' '" + msg + "'"; + auto cmd = format("xmessage -buttons 'quit:0,ignore:1' '{}'", msg); if (system(cmd.c_str()) == 1) return true; #endif |
