diff options
-rw-r--r-- | util/bsetroot.cc | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/util/bsetroot.cc b/util/bsetroot.cc index cd9c924..cb3bc1b 100644 --- a/util/bsetroot.cc +++ b/util/bsetroot.cc | |||
@@ -87,11 +87,7 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name) | |||
87 | fprintf(stderr, | 87 | fprintf(stderr, |
88 | I18n::instance()-> | 88 | I18n::instance()-> |
89 | getMessage( | 89 | getMessage( |
90 | #ifdef NLS | 90 | FBNLS::bsetrootSet, FBNLS::bsetrootMustSpecify, |
91 | bsetrootSet, bsetrootMustSpecify, | ||
92 | #else // !NLS | ||
93 | 0, 0, | ||
94 | #endif // NLS | ||
95 | "%s: error: must specify on of: -solid, -mod, -gradient\n"), | 91 | "%s: error: must specify on of: -solid, -mod, -gradient\n"), |
96 | getApplicationName()); | 92 | getApplicationName()); |
97 | 93 | ||
@@ -371,11 +367,7 @@ void bsetroot::gradient(void) { | |||
371 | void bsetroot::usage(int exit_code) { | 367 | void bsetroot::usage(int exit_code) { |
372 | fprintf(stderr, | 368 | fprintf(stderr, |
373 | I18n::instance()->getMessage( | 369 | I18n::instance()->getMessage( |
374 | #ifdef NLS | 370 | FBNLS::bsetrootSet, FBNLS::bsetrootUsage, |
375 | bsetrootSet, bsetrootUsage, | ||
376 | #else // !NLS | ||
377 | 0, 0, | ||
378 | #endif // NLS | ||
379 | "%s 2.1 : (c) 2002 Claes Nasten\n" | 371 | "%s 2.1 : (c) 2002 Claes Nasten\n" |
380 | "%s 2.0 : (c) 1997-2000 Brad Hughes\n\n" | 372 | "%s 2.0 : (c) 1997-2000 Brad Hughes\n\n" |
381 | " -display <string> display connection\n" | 373 | " -display <string> display connection\n" |
@@ -406,11 +398,7 @@ int main(int argc, char **argv) { | |||
406 | if ((++i) >= argc) { | 398 | if ((++i) >= argc) { |
407 | fprintf(stderr, | 399 | fprintf(stderr, |
408 | I18n::instance()->getMessage( | 400 | I18n::instance()->getMessage( |
409 | #ifdef NLS | 401 | FBNLS::mainSet, FBNLS::mainDISPLAYRequiresArg, |
410 | mainSet, mainDISPLAYRequiresArg, | ||
411 | #else // !NLS | ||
412 | 0, 0, | ||
413 | #endif // NLS | ||
414 | "error: '-display' requires an argument\n")); | 402 | "error: '-display' requires an argument\n")); |
415 | 403 | ||
416 | ::exit(1); | 404 | ::exit(1); |