Fixed a bug.

This commit is contained in:
Eric Kohl 1998-10-11 13:20:06 +00:00 committed by Alexandre Julliard
parent 96388c85b1
commit 54d9f79337
1 changed files with 3 additions and 0 deletions

View File

@ -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;