summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c
index 069eb6265..317cc41ab 100644
--- a/test/test.c
+++ b/test/test.c
@@ -3105,7 +3105,7 @@ static hb_dict_t * PreparePreset(const char *preset_name)
{
selection = subtitle_all == 1 ? "all" : "first";
}
- else
+ else if (subtitle_track_count > 0)
{
selection = "none";
}