|
@@ -75,7 +75,7 @@ void FileNavigator::reset() {
|
75
|
75
|
currentfolderdepth = 0;
|
76
|
76
|
currentindex = 0;
|
77
|
77
|
lastpanelindex = 0;
|
78
|
|
- ZERO(currentfolderindex)
|
|
78
|
+ ZERO(currentfolderindex);
|
79
|
79
|
|
80
|
80
|
// Start at root folder
|
81
|
81
|
while (!filelist.isAtRootDir()) filelist.upDir();
|
|
@@ -108,7 +108,7 @@ void FileNavigator::upDIR() {
|
108
|
108
|
if (currentfolderdepth == 0)
|
109
|
109
|
currentfoldername[0] = '\0';
|
110
|
110
|
else {
|
111
|
|
- const char *pos = strchr(currentfoldername, '/');
|
|
111
|
+ char * const pos = strchr(currentfoldername, '/');
|
112
|
112
|
*(pos + 1) = '\0';
|
113
|
113
|
}
|
114
|
114
|
}
|