aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-04 15:30:37 (GMT)
committerfluxgen <fluxgen>2002-04-04 15:30:37 (GMT)
commitef74f26728056d3c0cb2b719f7b0effb7443a5f5 (patch)
treef8a70a1d72fe0143bc2eacab66d81eefde9a967a
parenta959fc2fdf00b2754e5119bbce9d796ecdfd9fca (diff)
downloadfluxbox_paul-ef74f26728056d3c0cb2b719f7b0effb7443a5f5.zip
fluxbox_paul-ef74f26728056d3c0cb2b719f7b0effb7443a5f5.tar.bz2
update to FBNLS
-rw-r--r--util/bsetroot.cc18
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) {
371void bsetroot::usage(int exit_code) { 367void 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);