Fixes duplicated arrows in header control
Carlos
clozano at andago.com
Sat Oct 19 17:51:42 CDT 2002
Hello,
It is fixes duplicated arrows in header control in
12Ghosts, Winrar, and probably others.
Regards,
Carlos.
Changelog
* Fixes duplicated arrows in header control.
--
___ _ \ | / Infraestructuras
| . |._ _ _| | ___ ___ ___ http://www.andago.com
| || ' |/ . |<_> |/ . |/ . \__ GNU/Linux
|_|_||_|_|\___|<___|\_. |\___/ _ \ __|\ \ /
Carlos A. Lozano <___'/ | \ -_) __/\__ \ > < -_)
[ carlos.lozano at andago.com ]\___|_| ____/ _/\_\___|
[ calb at epsxe.com ] http://www.epsxe.com
-------------- next part --------------
Index: wine/dlls/comctl32/header.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/header.c,v
retrieving revision 1.49
diff -u -r1.49 header.c
--- wine/dlls/comctl32/header.c 18 Oct 2002 00:20:04 -0000 1.49
+++ wine/dlls/comctl32/header.c 19 Oct 2002 22:48:48 -0000
@@ -207,7 +207,7 @@
else if ((phdi->fmt & HDF_JUSTIFYMASK) == HDF_RIGHT)
uTextJustify = DT_RIGHT;
- if ((phdi->fmt & HDF_BITMAP) && (phdi->hbm)) {
+ if ((phdi->fmt & HDF_BITMAP) && !(phdi->fmt & HDF_BITMAP_ON_RIGHT) && (phdi->hbm)) {
BITMAP bmp;
HDC hdcBitmap;
INT yD, yS, cx, cy, rx, ry;
@@ -245,7 +245,7 @@
}
- if ((phdi->fmt & HDF_BITMAP_ON_RIGHT) && (phdi->hbm)) {
+ if ((phdi->fmt & HDF_BITMAP) && (phdi->fmt & HDF_BITMAP_ON_RIGHT) && (phdi->hbm)) {
BITMAP bmp;
HDC hdcBitmap;
INT xD, yD, yS, cx, cy, rx, ry, tx;
More information about the wine-patches
mailing list