OSDN Git Service

Add workarounds for Windows 2000.
authors_kawamoto <s_kawamoto@users.sourceforge.jp>
Sun, 27 Apr 2014 12:43:09 +0000 (21:43 +0900)
committers_kawamoto <s_kawamoto@users.sourceforge.jp>
Sun, 27 Apr 2014 12:43:09 +0000 (21:43 +0900)
FFFTP_Eng_Release/FFFTP.exe
Release/FFFTP.exe
misc.c

index 5e00d2e..9a4557f 100644 (file)
Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
index 9873c53..08024ad 100644 (file)
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
diff --git a/misc.c b/misc.c
index 9bb301f..130ed68 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -2024,7 +2024,7 @@ HBITMAP ResizeBitmap(HBITMAP hBitmap, int UnitSizeX, int UnitSizeY, int ScaleNum
                                        {\r
                                                hSrcOld = SelectObject(hSrcDC, hBitmap);\r
                                                hDstOld = SelectObject(hDstDC, hDstBitmap);\r
-                                               SetStretchBltMode(hDstDC, HALFTONE);\r
+                                               SetStretchBltMode(hDstDC, COLORONCOLOR);\r
                                                StretchBlt(hDstDC, 0, 0, Width, Height, hSrcDC, 0, 0, Bitmap.bmWidth, Bitmap.bmHeight, SRCCOPY);\r
                                                SelectObject(hSrcDC, hSrcOld);\r
                                                SelectObject(hDstDC, hDstOld);\r