all repos — fluxbox @ 8b2c299d52b4818c49ec7d8a6b83e9f8d3681751

custom fork of the fluxbox windowmanager

Fix nls in fbsetroot.cc .
markt markt
commit

8b2c299d52b4818c49ec7d8a6b83e9f8d3681751

parent

acefac8473350ae42a499d1532561e76a4ae8d65

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

jump to
M util/fbsetroot.ccutil/fbsetroot.cc

@@ -120,7 +120,7 @@ }

if ((mod + sol + grd) != true) { _FB_USES_NLS; - cerr << _FBTEXT(fbsetroot, MustSpecify, + cerr << _FB_CONSOLETEXT(fbsetroot, MustSpecify, "Error: must specify one of: -solid, -mod, -gradient\n", "user didn't give one of the required options") << endl;

@@ -195,7 +195,7 @@ atom_eroot = XInternAtom(display(), "ESETROOT_PMAP_ID", false);

if (atom_root == None || atom_eroot == None) { _FB_USES_NLS; - cerr<<_FBTEXT(fbsetroot, NoPixmapAtoms, "Couldn't create pixmap atoms, giving up!", "Couldn't create atoms to point at root pixmap")<<endl; + cerr<<_FB_CONSOLETEXT(fbsetroot, NoPixmapAtoms, "Couldn't create pixmap atoms, giving up!", "Couldn't create atoms to point at root pixmap")<<endl; exit(1); }

@@ -382,7 +382,7 @@ _FB_USES_NLS;

cout << m_app_name << " 2.3 : (c) 2003-2006 Fluxbox Development Team" << endl; cout << m_app_name << " 2.1 : (c) 2002 Claes Nasten" << endl; cout << m_app_name << " 2.0 : (c) 1997-2000 Brad Hughes\n" << endl; - cout << _FBTEXT(fbsetroot, Usage, + cout << _FB_CONSOLETEXT(fbsetroot, Usage, " -display <string> display connection\n" " -mod <x> <y> modula pattern\n" " -foreground, -fg <color> modula foreground color\n"

@@ -409,7 +409,7 @@ // check for -display option

if ((++i) >= argc) { _FB_USES_NLS; - cerr<<_FBTEXT(main, DISPLAYRequiresArg, + cerr<<_FB_CONSOLETEXT(main, DISPLAYRequiresArg, "error: '-display' requires an argument", "option requires an argument")<<endl;