made bsetroot compile with the new code for references instead of pointers
This commit is contained in:
parent
ffce7be325
commit
d2bcec1cda
1 changed files with 1 additions and 1 deletions
|
@ -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])) {
|
||||
|
|
Loading…
Reference in a new issue