diff options
Diffstat (limited to 'player/osd.c')
-rw-r--r-- | player/osd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/player/osd.c b/player/osd.c index d1af1a6e65..70c1a0ddaf 100644 --- a/player/osd.c +++ b/player/osd.c @@ -485,8 +485,8 @@ void update_osd_msg(struct MPContext *mpctx) mpctx->terminal_osd_text = talloc_strdup(mpctx, msg->msg); // Multi-line message => clear what will be the second line write_status_line(mpctx, ""); - MP_MSG(mpctx, MSGL_STATUS, "%s%s\n", opts->term_osd_esc, - mpctx->terminal_osd_text); + mp_msg(mpctx->statusline, MSGL_STATUS, + "%s%s\n", opts->term_osd_esc, mpctx->terminal_osd_text); print_status(mpctx); } } @@ -512,6 +512,6 @@ void update_osd_msg(struct MPContext *mpctx) // Clear the term osd line if (opts->term_osd && mpctx->terminal_osd_text[0]) { mpctx->terminal_osd_text[0] = '\0'; - MP_MSG(mpctx, MSGL_STATUS, "%s\n", opts->term_osd_esc); + mp_msg(mpctx->statusline, MSGL_STATUS, "%s\n", opts->term_osd_esc); } } |