X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffreenet%2Fcaptcha%2Ffreeimage%2Fbitmap.cpp;h=8e733b4a1babac1e75b749317aa7fcf9fabfb1bc;hb=b7f3b3e6ae9dc527f02b5c06e2eeae0e9cac3ad8;hp=4c90fc1f44a4d2e27a2caace7131a7927274147c;hpb=f8c0410b12183ecb40aafbb44086fa146b25b528;p=fms.git diff --git a/src/freenet/captcha/freeimage/bitmap.cpp b/src/freenet/captcha/freeimage/bitmap.cpp index 4c90fc1..8e733b4 100644 --- a/src/freenet/captcha/freeimage/bitmap.cpp +++ b/src/freenet/captcha/freeimage/bitmap.cpp @@ -135,7 +135,7 @@ void Bitmap::Blit(const Bitmap &bmp, const int destx, const int desty, const int { height=Height()-desty+1; } - FIBITMAP *temp=FreeImage_Copy(bmp.m_bmp,sourcex,sourcey,sourcex+width-1,sourcey+height-1); + FIBITMAP *temp=FreeImage_Copy(bmp.m_bmp,sourcex,sourcey,sourcex+width,sourcey+height); FreeImage_Paste(m_bmp,temp,destx,desty,alpha); FreeImage_Unload(temp); }