mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-22 20:06:43 +00:00
Rename some variables
This commit is contained in:
parent
5b32937f8f
commit
d0799e3cd1
4 changed files with 4 additions and 4 deletions
|
@ -166,7 +166,7 @@ int filemenu(menu_entry file){
|
||||||
break;
|
break;
|
||||||
case FILE_SCRIPT:
|
case FILE_SCRIPT:
|
||||||
//ParseScript(fsutil_getnextloc(currentpath, file.name));
|
//ParseScript(fsutil_getnextloc(currentpath, file.name));
|
||||||
tester(fsutil_getnextloc(currentpath, file.name));
|
runScript(fsutil_getnextloc(currentpath, file.name));
|
||||||
fsreader_readfolder(currentpath);
|
fsreader_readfolder(currentpath);
|
||||||
break;
|
break;
|
||||||
case FILE_HEXVIEW:
|
case FILE_HEXVIEW:
|
||||||
|
|
|
@ -399,7 +399,7 @@ int part_fs_ReadDir(){
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (!f_readdir(&dir, &fno) && fno.fname[0]){
|
if (!f_readdir(&dir, &fno) && fno.fname[0]){
|
||||||
str_str_add("$FSOBJNAME", fno.fname);
|
str_str_add("$FILENAME", fno.fname);
|
||||||
str_int_add("@ISDIR", (fno.fattrib & AM_DIR) ? 1 : 0);
|
str_int_add("@ISDIR", (fno.fattrib & AM_DIR) ? 1 : 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -253,7 +253,7 @@ void skipbrackets(){
|
||||||
|
|
||||||
extern u32 currentcolor;
|
extern u32 currentcolor;
|
||||||
extern char *currentpath;
|
extern char *currentpath;
|
||||||
void tester(char *path){
|
void runScript(char *path){
|
||||||
int res;
|
int res;
|
||||||
forceExit = false;
|
forceExit = false;
|
||||||
currentchar = 0;
|
currentchar = 0;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
void tester(char *path);
|
void runScript(char *path);
|
||||||
void skipbrackets();
|
void skipbrackets();
|
||||||
void getfollowingchar(char end);
|
void getfollowingchar(char end);
|
Loading…
Reference in a new issue