NSIS internally uses status_update & 1

This commit is contained in:
Adam Demasi 2024-10-13 01:31:04 +10:30
parent e09ec99661
commit a6e0eb8a58
No known key found for this signature in database
GPG key ID: 5D3B26B3D58C7D91

View file

@ -52,7 +52,7 @@ PLUGIN_METHOD(Exec) {
PLUGIN_METHOD(ExecToLog) {
PLUGIN_INIT();
ExecScript(extra->exec_flags->status_update % 4 ? MODE_LINES : MODE_IGNOREOUTPUT);
ExecScript(extra->exec_flags->status_update & 1 ? MODE_LINES : MODE_IGNOREOUTPUT);
}
PLUGIN_METHOD(ExecToStack) {