mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
comctl32: Remove useless pointer check.
This commit is contained in:
parent
c8a8f77abe
commit
0f63ad92cc
1 changed files with 2 additions and 5 deletions
|
@ -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