From aca778fb1bc8fc7da0384f26813d6ec13f8b6f7f Mon Sep 17 00:00:00 2001 From: xiota Date: Tue, 2 Jan 2024 03:09:54 -0800 Subject: [PATCH] fix order of operations --- source/fltkui/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fltkui/video.cpp b/source/fltkui/video.cpp index f0d69c9..dc9325d 100644 --- a/source/fltkui/video.cpp +++ b/source/fltkui/video.cpp @@ -505,7 +505,7 @@ void nst_video_print(const char *text, int xpos, int ypos, int seconds, bool bg) snprintf(osdtext.textbuf, sizeof(osdtext.textbuf), "%s", text); osdtext.xpos = xpos; osdtext.ypos = ypos; - osdtext.drawtext = seconds * nst_pal() ? 50 : 60; + osdtext.drawtext = seconds * (nst_pal() ? 50 : 60); osdtext.bg = bg; }