fix crash on trying to writer to non-writable input method file

This commit is contained in:
Carsten Haitzler 2023-12-18 15:38:00 +00:00
parent 98e9c79246
commit 5a493a5594
1 changed files with 1 additions and 1 deletions

View File

@ -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)