mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 16:39:20 +00:00
Fixed a bug.
This commit is contained in:
parent
96388c85b1
commit
54d9f79337
|
@ -705,6 +705,9 @@ HEADER_InsertItem32A (WND *wndPtr, WPARAM32 wParam, LPARAM lParam)
|
|||
if (phdi->mask & HDI_FORMAT)
|
||||
lpItem->fmt = phdi->fmt;
|
||||
|
||||
if (lpItem->fmt == 0)
|
||||
lpItem->fmt = HDF_LEFT;
|
||||
|
||||
if (phdi->mask & HDI_BITMAP)
|
||||
lpItem->hbm = phdi->hbm;
|
||||
|
||||
|
|
Loading…
Reference in a new issue