forked from enlightenment/enlightenment
add a null check that fixes a crash but makes a block of code impossible to reach. spankies to whoever wrote it, and that person should fix it asap
SVN revision: 72138
This commit is contained in:
parent
6cf3ad2b92
commit
7806b4a7f3
|
@ -429,7 +429,7 @@ _12_try_restore_configuration(void)
|
|||
INF("E_RANDR: \tSerialized mode is now known under the name %s.", mi->name);
|
||||
mode = mi->xid;
|
||||
}
|
||||
else
|
||||
else if (mi) /* FIXME: this is impossible, so whoever wrote it probably meant something else */
|
||||
{
|
||||
// The serialized mode is no longer available
|
||||
mi->name = malloc(MODE_STR_LENGTH_MAX);
|
||||
|
|
Loading…
Reference in New Issue