Fix setting managed button procs

This commit is contained in:
Alexander Batalov 2022-10-28 11:02:53 +03:00
parent 9c6daa4abe
commit 8ee0f478ad
1 changed files with 1 additions and 1 deletions

View File

@ -1725,7 +1725,7 @@ bool _windowAddButtonGfx(const char* buttonName, char* pressedFileName, char* no
// 0x4BA11C // 0x4BA11C
bool _windowAddButtonProc(const char* buttonName, Program* program, int mouseEnterProc, int mouseExitProc, int mouseDownProc, int mouseUpProc) bool _windowAddButtonProc(const char* buttonName, Program* program, int mouseEnterProc, int mouseExitProc, int mouseDownProc, int mouseUpProc)
{ {
if (gCurrentManagedWindowIndex != -1) { if (gCurrentManagedWindowIndex == -1) {
return false; return false;
} }