CFlashUpdate: change name for CFile object for better differ

Origin commit data
------------------
Branch: ni/coolstream
Commit: e58b86f38f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-20 (Sat, 20 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2014-12-20 23:29:14 +01:00
parent c10e38d0c7
commit e340bc999e

View File

@@ -415,18 +415,18 @@ printf("[update] mode is %d\n", softupdate_mode);
UpdatesBrowser.Filter = &UpdatesFilter;
CFile * CFileSelected = NULL;
CFile * file_selected = NULL;
if (!(UpdatesBrowser.exec(g_settings.update_dir.c_str()))) {
menu_ret = UpdatesBrowser.getMenuRet();
return false;
}
CFileSelected = UpdatesBrowser.getSelectedFile();
file_selected = UpdatesBrowser.getSelectedFile();
if (CFileSelected == NULL)
if (file_selected == NULL)
return false;
filename = CFileSelected->Name;
filename = file_selected->Name;
FILE* fd = fopen(filename.c_str(), "r");
if(fd)