From 54d9f79337ac87ab7ab3171c727afed121b128a1 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 11 Oct 1998 13:20:06 +0000 Subject: [PATCH] Fixed a bug. --- dlls/comctl32/header.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c index a2d86fc2ef7..dd318cb65a6 100644 --- a/dlls/comctl32/header.c +++ b/dlls/comctl32/header.c @@ -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;