]> Dogcows Code - chaz/openbox/commitdiff
made bsetroot compile with the new code for references instead of pointers
authorDana Jansens <danakj@orodu.net>
Sun, 14 Apr 2002 14:39:04 +0000 (14:39 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 14 Apr 2002 14:39:04 +0000 (14:39 +0000)
util/bsetroot.cc

index f0912cab39e0510dc0e59880194d80da33d9bfa6..d9cd4fb2d494e7a247590c8b1313e8e7940da2c2 100644 (file)
@@ -26,7 +26,7 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
 
   img_ctrl = new BImageControl*[getNumberOfScreens()];
   for (; i < getNumberOfScreens(); i++)
-    img_ctrl[i] = new BImageControl(this, getScreenInfo(i), True);
+    img_ctrl[i] = new BImageControl(*this, *getScreenInfo(i), True);
 
   for (i = 1; i < argc; i++) {
     if (! strcmp("-help", argv[i])) {
This page took 0.023096 seconds and 4 git commands to generate.