mcconfig: added module for work with ini-files
Этот коммит содержится в:
родитель
0a1b6bfbb2
Коммит
72461d232e
@ -220,6 +220,7 @@ mc_config_save_to_file (mc_config_t * mc_config, const gchar * ini_path)
|
|||||||
mc_unlink (ini_path);
|
mc_unlink (ini_path);
|
||||||
}
|
}
|
||||||
ret = g_file_set_contents(ini_path,data,len,NULL);
|
ret = g_file_set_contents(ini_path,data,len,NULL);
|
||||||
|
|
||||||
g_free(data);
|
g_free(data);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user