mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 08:04:47 +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);
|
TRACE("(%p,%d)\n", infoPtr, cx);
|
||||||
|
|
||||||
if (infoPtr) {
|
oldcx = infoPtr->tabMinWidth;
|
||||||
oldcx = infoPtr->tabMinWidth;
|
infoPtr->tabMinWidth = cx;
|
||||||
infoPtr->tabMinWidth = cx;
|
|
||||||
}
|
|
||||||
TAB_SetItemBounds(infoPtr);
|
TAB_SetItemBounds(infoPtr);
|
||||||
|
|
||||||
return oldcx;
|
return oldcx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue