summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-02 20:52:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-02 20:52:23 +0100
commit128e76192e7bc3cc12c01f67b36a54509433d893 (patch)
tree63c6efa3f0afd666c14fd703b8268d034995f8ad /editor
parent84df0c90cce062683ba87e0a06dcac6825ec326d (diff)
a
Diffstat (limited to 'editor')
-rw-r--r--editor/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index 1add123e..a4455426 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -100,7 +100,7 @@ fm_settings app::parse_cmdline(int argc, const char* const* const argv)
Vector2us size;
int n = 0, ret = std::sscanf(str.data(), "%hux%hu%n", &size.x(), &size.y(), &n);
if (ret != 2 || (std::size_t)n != str.size() || Vector2ui(size).product() == 0)
- fm_warn("invalid --geom argument '%s'", str.data());
+ fm_warn("invalid --geometry argument '%s'", str.data());
else
opts.resolution = Vector2i(size);
}