fabulous: fix argument check in `-lut` option

Signed-off-by: Leo Moser <leomoser99@gmail.com>
This commit is contained in:
Leo Moser 2026-06-24 14:16:34 +02:00
parent d671de97e9
commit 54c37b395b
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ struct SynthPass : public ScriptPass
autotop = true;
continue;
}
if (args[argidx] == "-lut") {
if (args[argidx] == "-lut" && argidx+1 < args.size()) {
lut = atoi(args[++argidx].c_str());
continue;
}