all repos — fluxbox @ 1faef3ac2d5a22be465676ea0345df901f7cf8b6

custom fork of the fluxbox windowmanager

nls for screen argument
fluxgen fluxgen
commit

1faef3ac2d5a22be465676ea0345df901f7cf8b6

parent

f7cfa81bbb1f488899905731f9b72a9cce7d8c83

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/fluxbox.ccsrc/fluxbox.cc

@@ -337,10 +337,11 @@ for (i = 0; i < ScreenCount(disp); i++)

screens.push_back(i); // find out, on what "screens" fluxbox should run + // FIXME(php-coder): maybe it worths moving this code to main.cc, where command line is parsed? for (i = 1; i < m_argc; i++) { if (! strcmp(m_argv[i], "-screen")) { if ((++i) >= m_argc) { - cerr<<"error, -screen requires argument\n"; + cerr << _FBTEXT(main, ScreenRequiresArg, "error, -screen requires argument", "the -screen option requires a file argument") << endl; exit(1); }