diff options
| author | Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> | 2018-06-26 09:47:29 +0300 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-26 13:48:49 +0200 |
| commit | 49213b721f4620364aa09142b5f4d559fed26b53 (patch) | |
| tree | efd384153e17751be619b6b09675ac0924b75215 /util/async.c | |
| parent | 48db08cf1619afde2ad0f7df11ba3ba54c49112b (diff) | |
| download | focaccia-qemu-49213b721f4620364aa09142b5f4d559fed26b53.tar.gz focaccia-qemu-49213b721f4620364aa09142b5f4d559fed26b53.zip | |
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: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> Signed-off-by: Maria Klimushenkova <maria.klimushenkova@ispras.ru> Message-id: 20180626064729.18070.47600.stgit@pasha-VirtualBox Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions