fix: Files Computer view supports drive numbers past 19
This commit is contained in:
1 parent
2af2e90606
commit
6b9c18087a
3 files changed
+4
-14
No files matched your search
@@ -109,11 +109,7 @@ static void props_drive_path(int drive, char* out, int out_len) {
|
||||
out[0] = '\0';
|
||||
return;
|
||||
}
|
||||
if (drive < 10) {
|
||||
snprintf(out, out_len, "%d:/", drive);
|
||||
} else {
|
||||
snprintf(out, out_len, "%d:/", drive);
|
||||
}
|
||||
snprintf(out, out_len, "%d:/", drive);
|
||||
}
|
||||
|
||||
static const char* props_type_label(const FileManagerState* fm, int idx) {
|
||||
|
||||
Reference in new issue
Block a user