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

This commit is contained in:
Dimitrie O. Paun 2002-10-19 19:25:01 +00:00 committed by Alexandre Julliard
parent 231e9ef25b
commit 569de03864
1 changed files with 1 additions and 1 deletions

View File

@ -5966,7 +5966,7 @@ static BOOL column_fill_info(LISTVIEW_INFO *infoPtr, COLUMN_INFO *lpColumnInfo,
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
{