aboutsummaryrefslogtreecommitdiff
path: root/util/bsetroot.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/bsetroot.cc')
-rw-r--r--util/bsetroot.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/bsetroot.cc b/util/bsetroot.cc
index cb00594..6365689 100644
--- a/util/bsetroot.cc
+++ b/util/bsetroot.cc
@@ -1,4 +1,4 @@
1// Copyright (c) 2002 Henrik Kinnunen (fluxgen@linuxmail.org) 1// Copyright (c) 2002 Henrik Kinnunen (fluxgen at linuxmail.org)
2// Copyright (c) 1997 - 2000 Brad Hughes <bhughes at trolltech.com> 2// Copyright (c) 1997 - 2000 Brad Hughes <bhughes at trolltech.com>
3// 3//
4// Permission is hereby granted, free of charge, to any person obtaining a 4// Permission is hereby granted, free of charge, to any person obtaining a
@@ -18,15 +18,15 @@
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.12 2002/11/27 21:52:34 fluxgen Exp $ 21// $Id: bsetroot.cc,v 1.13 2002/11/30 21:07:51 fluxgen Exp $
22 22
23#include "bsetroot.hh" 23#include "bsetroot.hh"
24 24
25#include "../src/i18n.hh" 25#include "../src/i18n.hh"
26#include "../src/Image.hh" 26#include "../src/ImageControl.hh"
27 27
28#ifdef HAVE_CONFIG_H 28#ifdef HAVE_CONFIG_H
29# include "../config.h" 29#include "config.h"
30#endif // HAVE_CONFIG_H 30#endif // HAVE_CONFIG_H
31 31
32#include <X11/Xatom.h> 32#include <X11/Xatom.h>
@@ -49,7 +49,7 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
49 49
50 img_ctrl = new BImageControl*[getNumberOfScreens()]; 50 img_ctrl = new BImageControl*[getNumberOfScreens()];
51 for (; i < getNumberOfScreens(); i++) { 51 for (; i < getNumberOfScreens(); i++) {
52 img_ctrl[i] = new BImageControl(getScreenInfo(i), true); 52 img_ctrl[i] = new BImageControl(i, true);
53 } 53 }
54 54
55 for (i = 1; i < argc; i++) { 55 for (i = 1; i < argc; i++) {