summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PreviewOutputImage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PreviewOutputImage.cxx b/src/PreviewOutputImage.cxx
index d500e49..3f6443a 100644
--- a/src/PreviewOutputImage.cxx
+++ b/src/PreviewOutputImage.cxx
@@ -56,9 +56,9 @@ PreviewOutputImage::next_line_internal() {
void
PreviewOutputImage::draw() {
- if (!data) {
+ if (!data)
return;
- }
+
fl_push_clip(x(), y(), w(), h());
fl_draw_image(data, x(), y(), w(), h(), d);
fl_pop_clip();