summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r--src/gui/widgets/desktop.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index 7d464b46d..214fc6736 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -130,9 +130,7 @@ void Desktop::draw(gcn::Graphics *graphics)
}
else
{
- g->drawRescaledImage(mWallpaper, 0, 0, 0, 0,
- wallpWidth, wallpHeight,
- width, height, false);
+ g->drawRescaledImage(mWallpaper, 0, 0, width, height);
}
}
else