made bsetroot compile with the new code for references instead of pointers

This commit is contained in:
Dana Jansens 2002-04-14 14:39:04 +00:00
parent ffce7be325
commit d2bcec1cda

View 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])) {