mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
moviebrowser: only save settings if modified
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3ece169f9b
Author: Gaucho316 <Gaucho316@hotmail.com>
Date: 2013-02-26 (Tue, 26 Feb 2013)
Origin message was:
------------------
- moviebrowser: only save settings if modified
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -806,7 +806,8 @@ bool CMovieBrowser::saveSettings(MB_SETTINGS* settings)
|
||||
configfile.setInt32(cfg_key, settings->browserRowWidth[i]);
|
||||
}
|
||||
|
||||
configfile.saveConfig(MOVIEBROWSER_SETTINGS_FILE);
|
||||
if (configfile.getModifiedFlag())
|
||||
configfile.saveConfig(MOVIEBROWSER_SETTINGS_FILE);
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user