Skip to content
  • Michael Natterer's avatar
    added precondition check for the coords of the src area. Some cleanup and · 2e263a8c
    Michael Natterer authored
    2004-12-12  Michael Natterer  <mitch@gimp.org>
    
    	* app/core/gimpdrawable-preview.c (gimp_drawable_get_sub_preview):
    	added precondition check for the coords of the src area. Some
    	cleanup and simplification.
    
    	* app/widgets/gimpviewrendererdrawable.c
    	(gimp_view_renderer_drawable_render): don't request sub-previews
    	of areas outside the drawable and don't reuqest previews of zero
    	width or height. Fixes crashes with the new preview code.
    2e263a8c
To find the state of this project's repository at the time of any of these versions, check out the tags.