aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkpreview.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
commit845493306279f446dbac9568a0a1e0f442e615dd (patch)
treedbf0a36e50a268b456760ce881a802d28979cc5f /dw/fltkpreview.cc
parent283a7960e615b14c21b7ce757b0fcbe5c945bb95 (diff)
's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.
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;