diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c index 583867ea85a..7c4f44ce470 100644 --- a/dlls/comctl32/tab.c +++ b/dlls/comctl32/tab.c @@ -1089,7 +1089,7 @@ static void TAB_SetItemBounds (HWND hwnd) iCount = iIndexEnd-iIndexStart; - if (iCount) + if (iCount>1) { INT iIndex; remainder = widthDiff % iCount;