made bsetroot compile with the new code for references instead of pointers
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
util/bsetroot.cc
→
util/bsetroot.cc
@@ -26,7 +26,7 @@ int mod_x = 0, mod_y = 0, i = 0;
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])) {