based on submission from Seunghun, Lee - dont access NULL desk
this effectively accepts D574 but is re-done with different formatting.
This commit is contained in:
parent
8568a76313
commit
565faa1155
|
@ -127,6 +127,7 @@ _initialize_tinfo(const E_Desk *desk)
|
||||||
static void
|
static void
|
||||||
check_tinfo(const E_Desk *desk)
|
check_tinfo(const E_Desk *desk)
|
||||||
{
|
{
|
||||||
|
if (!desk) return;
|
||||||
if (!_G.tinfo || _G.tinfo->desk != desk)
|
if (!_G.tinfo || _G.tinfo->desk != desk)
|
||||||
{
|
{
|
||||||
_G.tinfo = eina_hash_find(_G.info_hash, &desk);
|
_G.tinfo = eina_hash_find(_G.info_hash, &desk);
|
||||||
|
|
Loading…
Reference in New Issue