mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +00:00
[0.4.13][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
1fe075ff55
commit
4d65489387
1 changed files with 4 additions and 0 deletions
|
@ -258,6 +258,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