summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/bsetroot.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/bsetroot.cc b/util/bsetroot.cc
index 903efec..5c209e0 100644
--- a/util/bsetroot.cc
+++ b/util/bsetroot.cc
@@ -18,7 +18,7 @@
18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 20
21// $Id: bsetroot.cc,v 1.9 2002/09/15 13:08:05 fluxgen Exp $ 21// $Id: bsetroot.cc,v 1.10 2002/11/25 22:23:03 fluxgen Exp $
22 22
23#include "bsetroot.hh" 23#include "bsetroot.hh"
24 24
@@ -44,12 +44,12 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
44 pixmaps = (Pixmap *) 0; 44 pixmaps = (Pixmap *) 0;
45 grad = fore = back = (char *) 0; 45 grad = fore = back = (char *) 0;
46 46
47 Bool mod = False, sol = False, grd = False; 47 bool mod = false, sol = false, grd = false;
48 int mod_x = 0, mod_y = 0, i = 0; 48 int mod_x = 0, mod_y = 0, i = 0;
49 49
50 img_ctrl = new BImageControl*[10]; 50 img_ctrl = new BImageControl*[10];
51 for (; i < getNumberOfScreens(); i++) { 51 for (; i < getNumberOfScreens(); i++) {
52 img_ctrl[i] = new BImageControl(this, getScreenInfo(i), True); 52 img_ctrl[i] = new BImageControl(getScreenInfo(i), true);
53 } 53 }
54 54
55 for (i = 1; i < argc; i++) { 55 for (i = 1; i < argc; i++) {
@@ -74,7 +74,7 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
74 if ((++i) >= argc) 74 if ((++i) >= argc)
75 usage(1); 75 usage(1);
76 fore = argv[i]; 76 fore = argv[i];
77 sol = True; 77 sol = true;
78 78
79 } else if (! strcmp("-mod", argv[i])) { 79 } else if (! strcmp("-mod", argv[i])) {
80 if ((++i) >= argc) 80 if ((++i) >= argc)
@@ -87,14 +87,14 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
87 mod_x = 1; 87 mod_x = 1;
88 if (mod_y < 1) 88 if (mod_y < 1)
89 mod_y = 1; 89 mod_y = 1;
90 mod = True; 90 mod = true;
91 91
92 } else if (! strcmp("-gradient", argv[i])) { 92 } else if (! strcmp("-gradient", argv[i])) {
93 if ((++i) >= argc) 93 if ((++i) >= argc)
94 usage(); 94 usage();
95 95
96 grad = argv[i]; 96 grad = argv[i];
97 grd = True; 97 grd = true;
98 98
99 } else if (! strcmp("-display", argv[i])) { 99 } else if (! strcmp("-display", argv[i])) {
100 // -display passed through tests earlier... we just skip it now 100 // -display passed through tests earlier... we just skip it now