From 3ba9430edb4036cfad8737f54f4eb8a844e7360b Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sun, 20 Feb 2022 17:11:14 +0100 Subject: More #strict 3 fixes --- Script.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Script.c b/Script.c index 1af5cb4..e9b791e 100644 --- a/Script.c +++ b/Script.c @@ -837,6 +837,7 @@ func SubMenuItemCallback(int action, object menuObject, args, array allArgs) func DecodeSelection(int& selection) { + selection ??= 0; var column = selection % columnCount; selection /= columnCount; selection -= columnOffsets[column]; -- cgit v1.2.3-54-g00ecf