From 6274a7ab88a31f7c6c3641f6b4c111273f0e4dda Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Wed, 24 May 2000 21:02:29 +0000 Subject: [PATCH] Corrected the problem where a tab control marked multiline but has only one tab was being justified to fill the whole tab space. --- dlls/comctl32/tab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;