mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
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:
@@ -415,18 +415,18 @@ printf("[update] mode is %d\n", softupdate_mode);
|
|||||||
|
|
||||||
UpdatesBrowser.Filter = &UpdatesFilter;
|
UpdatesBrowser.Filter = &UpdatesFilter;
|
||||||
|
|
||||||
CFile * CFileSelected = NULL;
|
CFile * file_selected = NULL;
|
||||||
if (!(UpdatesBrowser.exec(g_settings.update_dir.c_str()))) {
|
if (!(UpdatesBrowser.exec(g_settings.update_dir.c_str()))) {
|
||||||
menu_ret = UpdatesBrowser.getMenuRet();
|
menu_ret = UpdatesBrowser.getMenuRet();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
CFileSelected = UpdatesBrowser.getSelectedFile();
|
file_selected = UpdatesBrowser.getSelectedFile();
|
||||||
|
|
||||||
if (CFileSelected == NULL)
|
if (file_selected == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
filename = CFileSelected->Name;
|
filename = file_selected->Name;
|
||||||
|
|
||||||
FILE* fd = fopen(filename.c_str(), "r");
|
FILE* fd = fopen(filename.c_str(), "r");
|
||||||
if(fd)
|
if(fd)
|
||||||
|
Reference in New Issue
Block a user