reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 0ec9ec63fb0c953cfd9fe429a55af114ef8addba
parent 0e12ee2805db3aefaa33d0f216cf1d9a0def0689
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Wed, 24 Aug 2016 19:43:12 -0400

dialog: fix return value when cancelled not being 0

Diffstat:
Msrc/dialog.cpp | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/dialog.cpp b/src/dialog.cpp @@ -413,8 +413,11 @@ void Dialog::onCommand(const int id, int) { switch(id) { case IDOK: + close(1); + break; case IDCANCEL: - close(id); + close(0); + break; } }