mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 16:43:38 +00:00
comctl32: Remove useless pointer check.
This commit is contained in:
parent
c8a8f77abe
commit
0f63ad92cc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue