From 4ea3ac5744511ce917c191a73084317cba628aa4 Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Tue, 31 Mar 2026 21:32:09 +0300 Subject: [PATCH 1/1] Fix SearchNext condition. --- projects/stargazer/plugins/other/rscript/rscript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/other/rscript/rscript.cpp b/projects/stargazer/plugins/other/rscript/rscript.cpp index 24a8bd71..59bde073 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.cpp +++ b/projects/stargazer/plugins/other/rscript/rscript.cpp @@ -438,7 +438,7 @@ UserPtr u; int h = users->OpenSearch(); assert(h && "USERS::OpenSearch is always correct"); -while (users->SearchNext(h, &u) != 0) +while (users->SearchNext(h, &u) == 0) SetUserNotifiers(u); users->CloseSearch(h); -- 2.44.2