fix order of operations

This commit is contained in:
xiota 2024-01-02 03:09:54 -08:00 committed by rdanbrook
parent 185d7470f5
commit aca778fb1b

View file

@ -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;
}