projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7796df3
)
[EXPLORER] Properly initialise tbBtn.iBitmap. CORE-14262.
author
Andreas Maier
<staubim@quantentunnel.de>
Tue, 18 Jun 2019 20:40:27 +0000
(22:40 +0200)
committer
Mark Jansen
<mark.jansen@reactos.org>
Wed, 19 Jun 2019 18:37:04 +0000
(20:37 +0200)
In CNotifyToolbar::AddButton tbBtn.iBitmap (imagelist-index)
was inialised with 0. Tigthvnc adds the icon wihtout NIF_ICON flag.
So the wrong icon index was kept and later replaced.
base/shell/explorer/syspager.cpp
patch
|
blob
|
history
diff --git
a/base/shell/explorer/syspager.cpp
b/base/shell/explorer/syspager.cpp
index
2186933
..
8d4f914
100644
(file)
--- a/
base/shell/explorer/syspager.cpp
+++ b/
base/shell/explorer/syspager.cpp
@@
-742,6
+742,7
@@
BOOL CNotifyToolbar::AddButton(_In_ CONST NOTIFYICONDATA *iconData)
tbBtn.dwData = (DWORD_PTR)notifyItem;
tbBtn.iString = (INT_PTR) text;
tbBtn.idCommand = GetButtonCount();
+ tbBtn.iBitmap = -1;
if (iconData->uFlags & NIF_STATE)
{