From d2bcec1cda227de11fef6c62a6f4aae357c3760f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Apr 2002 14:39:04 +0000 Subject: [PATCH] made bsetroot compile with the new code for references instead of pointers --- util/bsetroot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/bsetroot.cc b/util/bsetroot.cc index f0912cab..d9cd4fb2 100644 --- a/util/bsetroot.cc +++ b/util/bsetroot.cc @@ -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])) { -- 2.45.2