set WRITE_ALL_SETTINGS macro to TRUE for now, to prevent a 0-byte file size.
This commit is contained in:
parent
48eea0de00
commit
52ff05fa6e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user