@@ -759,25 +759,25 @@ static void ini_save_settings(IniFile *i
s = sdb->name;
group = group_def;
}
item = ini_getitem(group, s, true);
ptr = ini_get_variable(sld, object);
if (item->value != NULL) {
// check if the value is the same as the old value
const void *p = string_to_val(sdb, item->value);
/* The main type of a variable/setting is in bytes 8-15
* The subtype (what kind of numbers do we have there) is in 0-7 */
switch (sdb->cmd) {
case SDT_BOOLX:
case SDT_NUMX:
case SDT_ONEOFMANY:
case SDT_MANYOFMANY:
switch (GetVarMemType(sld->conv)) {
case SLE_VAR_BL:
case SLE_VAR_I8:
case SLE_VAR_U8:
if (*(byte*)ptr == (byte)(unsigned long)p) continue;
break;
case SLE_VAR_I16: