From dcb6bae868e58950142250207cb10d48b9cd5c73 Mon Sep 17 00:00:00 2001 From: Michael Lelli Date: Tue, 7 Jan 2020 09:36:32 -0600 Subject: [PATCH] fix null check in video_display_server --- gfx/video_display_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_display_server.c b/gfx/video_display_server.c index 2b980f6846..14b9ad5a16 100644 --- a/gfx/video_display_server.c +++ b/gfx/video_display_server.c @@ -74,7 +74,7 @@ void* video_display_server_init(void) break; } - if (current_display_server->init && current_display_server->init) + if (current_display_server && current_display_server->init) current_display_server_data = current_display_server->init(); RARCH_LOG("[Video]: Found display server: %s\n",