Patch #21911: Uppercase Windows Drive Letters in File Open Window

Submitted by: Harley Acheson

Harley writes:
The normal convention in Windows is to show drive letters in uppercase, as in "C:\", not "c:\" as
seen in the File window.

Although Windows file paths are generally case insensitive, drive letters have been shown as uppercase since the early
DOS days.  Seeing them in lowercase in the Blender File window looks a bit strange.
This commit is contained in:
Joshua Leung
2010-04-06 05:02:59 +00:00
parent 0d75dce042
commit 34236eb67c

View File

@@ -266,7 +266,7 @@ void fsmenu_read_file(struct FSMenu* fsmenu, const char *filename)
for (i=2; i < 26; i++) {
if ((tmp>>i) & 1) {
tmps[0]='a'+i;
tmps[0]='A'+i;
tmps[1]=':';
tmps[2]='\\';
tmps[3]=0;