diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-06-01 21:15:59 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-06-01 21:15:59 +0100 |
| commit | 8f6fc6a0f3bad813f6f7a6ca5cd8ae56afd31cc3 (patch) | |
| tree | e7611265f4e905330910ebdc3d4f1c317b4d4f67 /src/assert.cc | |
| parent | f19bb4fe6d1de14f9539768ad9a67391fc52ed87 (diff) | |
Port even more code to use format function
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 |
