From c368443056c0eda834f4924ca36c141d8d97f89e Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 29 Mar 2009 17:14:37 +0200 Subject: style --- src/PreviewOutputImage.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3