forked from old/legacy-imlib2
dont return values if void return defined!
SVN revision: 9955
This commit is contained in:
parent
f6e6870bd0
commit
7df2d726bb
|
@ -3372,13 +3372,13 @@ void imlib_rotate_image_from_buffer(double angle,
|
|||
if (!ctx)
|
||||
ctx = imlib_context_new();
|
||||
// source image (to rotate)
|
||||
CHECK_PARAM_POINTER_RETURN("imlib_rotate_image_from_buffer", "source_image",
|
||||
source_image, NULL);
|
||||
CHECK_PARAM_POINTER("imlib_rotate_image_from_buffer", "source_image",
|
||||
source_image);
|
||||
CAST_IMAGE(im_old, source_image);
|
||||
|
||||
// current context image
|
||||
CHECK_PARAM_POINTER_RETURN("imlib_rotate_image_from_buffer", "image",
|
||||
ctx->image, NULL);
|
||||
CHECK_PARAM_POINTER("imlib_rotate_image_from_buffer", "image",
|
||||
ctx->image);
|
||||
CAST_IMAGE(im, ctx->image);
|
||||
|
||||
if ((!(im_old->data)) && (im_old->loader) && (im_old->loader->load))
|
||||
|
|
Loading…
Reference in New Issue