aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fbsetroot.cc20
-rw-r--r--util/fluxbox-update_configs.cc2
2 files changed, 5 insertions, 17 deletions
diff --git a/util/fbsetroot.cc b/util/fbsetroot.cc
index c787619..28ad26e 100644
--- a/util/fbsetroot.cc
+++ b/util/fbsetroot.cc
@@ -28,21 +28,9 @@
28 28
29#include <X11/Xatom.h> 29#include <X11/Xatom.h>
30 30
31#ifdef HAVE_CSTRING 31#include <cstring>
32 #include <cstring> 32#include <cstdlib>
33#else 33#include <cstdio>
34 #include <string.h>
35#endif
36#ifdef HAVE_CSTDLIB
37 #include <cstdlib>
38#else
39 #include <stdlib.h>
40#endif
41#ifdef HAVE_CSTDIO
42 #include <cstdio>
43#else
44 #include <stdio.h>
45#endif
46#include <iostream> 34#include <iostream>
47 35
48using std::cout; 36using std::cout;
@@ -382,7 +370,7 @@ int main(int argc, char **argv) {
382 char *display_name = (char *) 0; 370 char *display_name = (char *) 0;
383 int i = 1; 371 int i = 1;
384 372
385 FbTk::NLSInit("fluxbox.cat"); 373 FbTk::I18n::init("fluxbox.cat");
386 374
387 for (; i < argc; i++) { 375 for (; i < argc; i++) {
388 if (!strcmp(argv[i], "-display") || !strcmp(argv[i], "--display")) { 376 if (!strcmp(argv[i], "-display") || !strcmp(argv[i], "--display")) {
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index 07b7102..a7d3d4a 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -565,7 +565,7 @@ int main(int argc, char **argv) {
565 bool check = 0; 565 bool check = 0;
566 pid_t fb_pid = 0; 566 pid_t fb_pid = 0;
567 567
568 FbTk::NLSInit("fluxbox.cat"); 568 FbTk::I18n::init("fluxbox.cat");
569 _FB_USES_NLS; 569 _FB_USES_NLS;
570 570
571 for (; i < argc; i++) { 571 for (; i < argc; i++) {