Skip to content

Commit

Permalink
Fix setting managed button procs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbatalov committed Oct 28, 2022
1 parent 9c6daa4 commit 8ee0f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,7 @@ bool _windowAddButtonGfx(const char* buttonName, char* pressedFileName, char* no
// 0x4BA11C
bool _windowAddButtonProc(const char* buttonName, Program* program, int mouseEnterProc, int mouseExitProc, int mouseDownProc, int mouseUpProc)
{
if (gCurrentManagedWindowIndex != -1) {
if (gCurrentManagedWindowIndex == -1) {
return false;
}

Expand Down

0 comments on commit 8ee0f47

Please sign in to comment.