fix: Files Computer view supports drive numbers past 19

This commit is contained in:
daniel committed 2026-11-22 08:58:02 +01:00
1 parent 2af2e90606
commit 6b9c18087a
3 files changed
+4 -14

No files matched your search

+1 -5
View File
@@ -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) {