set WRITE_ALL_SETTINGS macro to TRUE for now, to prevent a 0-byte file size.

This commit is contained in:
Benoît LeBlanc 2013-10-16 18:29:52 -04:00
parent 48eea0de00
commit 52ff05fa6e

View File

@ -524,7 +524,7 @@ BOOL freerdp_client_parse_rdp_file(rdpFile* file, const char* name)
return freerdp_client_parse_rdp_file_buffer(file, buffer, file_size);
}
#define WRITE_ALL_SETTINGS FALSE
#define WRITE_ALL_SETTINGS TRUE
#define SETTING_MODIFIED(_settings, _field) (WRITE_ALL_SETTINGS || _settings->settings_modified[FreeRDP_##_field])
#define SETTING_MODIFIED_SET(_target, _settings, _field) if SETTING_MODIFIED(_settings, _field) _target = _settings->_field