diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 9aff2ed..3781126 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -337,10 +337,11 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile | |||
337 | screens.push_back(i); | 337 | screens.push_back(i); |
338 | 338 | ||
339 | // find out, on what "screens" fluxbox should run | 339 | // find out, on what "screens" fluxbox should run |
340 | // FIXME(php-coder): maybe it worths moving this code to main.cc, where command line is parsed? | ||
340 | for (i = 1; i < m_argc; i++) { | 341 | for (i = 1; i < m_argc; i++) { |
341 | if (! strcmp(m_argv[i], "-screen")) { | 342 | if (! strcmp(m_argv[i], "-screen")) { |
342 | if ((++i) >= m_argc) { | 343 | if ((++i) >= m_argc) { |
343 | cerr<<"error, -screen requires argument\n"; | 344 | cerr << _FBTEXT(main, ScreenRequiresArg, "error, -screen requires argument", "the -screen option requires a file argument") << endl; |
344 | exit(1); | 345 | exit(1); |
345 | } | 346 | } |
346 | 347 | ||