[SHELL32] Fix uninitialized variable usage.

This fixes log spam about NM_CUSTOMDRAW not being handled
This commit is contained in:
Mark Jansen 2021-09-30 20:44:05 +02:00
parent f5bbd57d73
commit 22e58e68aa

View file

@ -258,6 +258,10 @@ HRESULT CMenuToolbarBase::OnCustomDraw(LPNMTBCUSTOMDRAW cdraw, LRESULT * theResu
}
*theResult = TRUE;
return S_OK;
default:
*theResult = 0L;
break;
}
return S_OK;
}