Skip to content
Commit 49213b72 authored by Pavel Dovgalyuk's avatar Pavel Dovgalyuk Committed by Gerd Hoffmann
Browse files

sdl2: add checking for NULL



Sometimes SDL2 console can't be retrieved on events and scon variable
becomes NULL. This patch prevents processing of the events when the console
is not available.

Signed-off-by: default avatarPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Signed-off-by: default avatarMaria Klimushenkova <maria.klimushenkova@ispras.ru>
Message-id: 20180626064729.18070.47600.stgit@pasha-VirtualBox
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 48db08cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment