diff --git a/test/libmpv_test.c b/test/libmpv_test.c index e4356e8537..2c72c8c9a9 100644 --- a/test/libmpv_test.c +++ b/test/libmpv_test.c @@ -71,10 +71,10 @@ static mpv_event *wrap_wait_event(void) mpv_event *ev = mpv_wait_event(ctx, 1); if (ev->event_id == MPV_EVENT_NONE) { - continue; + continue; } else if (ev->event_id == MPV_EVENT_LOG_MESSAGE) { mpv_event_log_message *msg = (mpv_event_log_message*)ev->data; - printf("[%s:%s] %s", msg->prefix, msg->level, msg->text); + printf("[%s:%s] %s", msg->prefix, msg->level, msg->text); if (msg->log_level <= MPV_LOG_LEVEL_ERROR) fail("error was logged"); } else {