summaryrefslogtreecommitdiff
path: root/dw/fltkpreview.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/fltkpreview.cc')
-rw-r--r--dw/fltkpreview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/fltkpreview.cc b/dw/fltkpreview.cc
index 6bed7adf..3c383638 100644
--- a/dw/fltkpreview.cc
+++ b/dw/fltkpreview.cc
@@ -191,7 +191,7 @@ void FltkPreviewWindow::reallocate ()
int mx, my, width, height;
bool warp = false;
- if(preview->canvasHeight * maxWidth > maxHeight * preview->canvasWidth) {
+ if (preview->canvasHeight * maxWidth > maxHeight * preview->canvasWidth) {
// Expand to maximal height (most likely case).
width = preview->canvasWidth * maxHeight / preview->canvasHeight;
height = maxHeight;