Commit 7c1db50c authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Ignore negative widths in HEADER_SetItemBounds.

parent 71ec7d66
......@@ -120,7 +120,7 @@ HEADER_SetItemBounds (HWND hwnd)
phdi->rect.top = rect.top;
phdi->rect.bottom = rect.bottom;
phdi->rect.left = x;
phdi->rect.right = phdi->rect.left + phdi->cxy;
phdi->rect.right = phdi->rect.left + ((phdi->cxy>0)?phdi->cxy:0);
x = phdi->rect.right;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment