version 0.3.16
[fms.git] / src / freenet / captcha / freeimage / bitmap.cpp
index 4c90fc1..8e733b4 100644 (file)
@@ -135,7 +135,7 @@ void Bitmap::Blit(const Bitmap &bmp, const int destx, const int desty, const int
                {\r
                        height=Height()-desty+1;\r
                }\r
-               FIBITMAP *temp=FreeImage_Copy(bmp.m_bmp,sourcex,sourcey,sourcex+width-1,sourcey+height-1);\r
+               FIBITMAP *temp=FreeImage_Copy(bmp.m_bmp,sourcex,sourcey,sourcex+width,sourcey+height);\r
                FreeImage_Paste(m_bmp,temp,destx,desty,alpha);\r
                FreeImage_Unload(temp);\r
        }\r