summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/bsetroot.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/bsetroot.cc b/util/bsetroot.cc
index 47939aec..6f8e122d 100644
--- a/util/bsetroot.cc
+++ b/util/bsetroot.cc
@@ -49,8 +49,8 @@ extern "C" {
I18n i18n;
bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
- : BaseDisplay(argv[0], dpy_name)
-{
+ : BaseDisplay(argv[0], dpy_name) {
+
grad = fore = back = (char *) 0;
bool mod = False, sol = False, grd = False;
@@ -97,8 +97,9 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
} else if (! strcmp("-display", argv[i])) {
// -display passed through tests ealier... we just skip it now
i++;
- } else
+ } else {
usage();
+ }
}
if ((mod + sol + grd) != True) {