diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-29 17:14:37 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-29 17:14:37 +0200 |
commit | c368443056c0eda834f4924ca36c141d8d97f89e (patch) | |
tree | 8495b7d67bb6932c49e8c425c61a0cb991953803 /src | |
parent | 33fbaf7198781e12a7bfb61c45a795b794933dac (diff) |
style
Diffstat (limited to 'src')
-rw-r--r-- | src/PreviewOutputImage.cxx | 4 |
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(); |