comctl32: Remove useless pointer check.

This commit is contained in:
Alexandre Julliard 2007-06-13 11:19:36 +02:00
parent c8a8f77abe
commit 0f63ad92cc
1 changed files with 2 additions and 5 deletions

View File

@ -2681,12 +2681,9 @@ static inline LRESULT TAB_SetMinTabWidth (TAB_INFO *infoPtr, INT cx)
TRACE("(%p,%d)\n", infoPtr, cx);
if (infoPtr) {
oldcx = infoPtr->tabMinWidth;
infoPtr->tabMinWidth = cx;
}
oldcx = infoPtr->tabMinWidth;
infoPtr->tabMinWidth = cx;
TAB_SetItemBounds(infoPtr);
return oldcx;
}