Listview U3

Dimitrie O. Paun dpaun at rogers.com
Sat Oct 19 10:58:21 CDT 2002


This should fix the bug in FTP Commander reported by Carlos,
and the one AAA MapNGo reported by David.

ChangeLog
  Column zero has the image enabled always, irrespective of format.

--- dlls/comctl32/listview.c.U2	Sat Oct 19 11:51:57 2002
+++ dlls/comctl32/listview.c	Sat Oct 19 11:55:02 2002
@@ -5966,7 +5966,7 @@
         else if (lpColumn->fmt & LVCFMT_RIGHT) lpColumnInfo->align = DT_RIGHT;
         else if (lpColumn->fmt & LVCFMT_CENTER) lpColumnInfo->align = DT_CENTER;
 	
-        if (lpColumn->fmt & LVCFMT_IMAGE) lpColumnInfo->hasImage = TRUE;
+        if (nColumn == 0 || (lpColumn->fmt & LVCFMT_IMAGE)) lpColumnInfo->hasImage = TRUE;
     } 
     else
     {




More information about the wine-patches mailing list