forked from enlightenment/enlightenment
fix crash on trying to writer to non-writable input method file
This commit is contained in:
parent
98e9c79246
commit
5a493a5594
|
@ -439,7 +439,7 @@ _change_hash_apply_cb(const Eina_Hash *hash EINA_UNUSED, const void *key, void *
|
|||
|
||||
imc = data;
|
||||
|
||||
if (ecore_file_exists(key))
|
||||
if (ecore_file_exists(key) && ecore_file_can_write(key))
|
||||
{
|
||||
ef = eet_open(key, EET_FILE_MODE_WRITE);
|
||||
if (ef)
|
||||
|
|
Loading…
Reference in New Issue