diff options
author | scuri <scuri> | 2010-01-15 17:21:47 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-01-15 17:21:47 +0000 |
commit | 8b2047804cba012ffa63134d977f4ec025e840cd (patch) | |
tree | d9e2f51861a8abb1d9147ccaf4be34bbeea98fd7 /src/im_image.cpp | |
parent | 577670a7706bb70bf1a4c30fb0255045e5f8469c (diff) |
*** empty log message ***
Diffstat (limited to 'src/im_image.cpp')
-rw-r--r-- | src/im_image.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/im_image.cpp b/src/im_image.cpp index 7bbeff1..171d897 100644 --- a/src/im_image.cpp +++ b/src/im_image.cpp @@ -2,7 +2,7 @@ * \brief Image Manipulation * * See Copyright Notice in im_lib.h - * $Id: im_image.cpp,v 1.5 2009/12/25 22:43:50 scuri Exp $ + * $Id: im_image.cpp,v 1.6 2010/01/15 17:21:47 scuri Exp $ */ #include <stdlib.h> @@ -306,9 +306,9 @@ void imImageCopyPlane(const imImage* src_image, int src_plane, imImage* dst_imag { assert(src_image); assert(dst_image); - assert(imImageMatch(src_image, dst_image)); + assert(imImageMatchDataType(src_image, dst_image)); - memcpy(dst_image->data[src_plane], src_image->data[dst_plane], src_image->plane_size); + memcpy(dst_image->data[dst_plane], src_image->data[src_plane], src_image->plane_size); } imImage* imImageDuplicate(const imImage* image) |