Skip to content

Commit 9f7883e

Browse files
committed
window management
1 parent 59287ab commit 9f7883e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/Display.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ namespace udd {
201201
Point p1 = Point(0, 0);
202202
Point p2 = Point(config.width, config.height);
203203

204-
if (image.getWidth > config.width) {
204+
if (image.getWidth() > config.width) {
205205
p2 = Point(config.height, config.width);
206206
}
207207
showImage(image, p1, p2, rotation);

0 commit comments

Comments
 (0)