mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:56:06 +00:00
[0.4.9][SHELL32] Fix uninitialized variable usage. CORE-15251 (#3986)
This fixes log spam about NM_CUSTOMDRAW not being handled, e.g. when interacting with the start-menu or filebrowsers menubar. Less logging implies faster painting here with dbg-builds. fix picked from commit 0.4.15-dev-3229-g22e58e68aa
The bug was a regression of 0.4.9-dev-151-g0aed0fd167
very likely, The symptom with the logging can neither be observed in unpatched releases/0.4.8 nor in releases/0.4.7
This commit is contained in:
parent
5690b9a8d2
commit
2986b27f7d
1 changed files with 4 additions and 0 deletions
|
@ -261,6 +261,10 @@ HRESULT CMenuToolbarBase::OnCustomDraw(LPNMTBCUSTOMDRAW cdraw, LRESULT * theResu
|
|||
}
|
||||
*theResult = TRUE;
|
||||
return S_OK;
|
||||
|
||||
default:
|
||||
*theResult = 0L;
|
||||
break;
|
||||
}
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue