Convert embedded filenames to the correct letter case

git-svn-id: svn://kolibrios.org@5309 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Yogev Ezra 2014-12-31 00:30:23 +00:00
parent 3aee7244e6
commit 225d44665e
2 changed files with 4 additions and 4 deletions

View File

@ -68,7 +68,7 @@ macro inject.image name, bpp {
local i, p, a, r, g, b,\ local i, p, a, r, g, b,\
x, y, w, h, wb x, y, w, h, wb
virtual at 0 virtual at 0
p:: file CD#'/media/'#name#'.BMP' p:: file CD#'/media/'#name#'.bmp'
END virtual END virtual
IF ~bpp in <15,16,24,32> IF ~bpp in <15,16,24,32>
'Invalid BPP' name 'Invalid BPP' name
@ -125,7 +125,7 @@ macro inject.image.8 name {
local i, p, a, c,\ local i, p, a, c,\
x, y, w, h, wb x, y, w, h, wb
virtual at 0 virtual at 0
p:: file CD#'/media/'#name#'.BMP' p:: file CD#'/media/'#name#'.bmp'
END virtual END virtual
load a word from p:0 load a word from p:0
IF a<>'BM' IF a<>'BM'

View File

@ -68,7 +68,7 @@ macro inject.image name, bpp {
local i, p, a, r, g, b,\ local i, p, a, r, g, b,\
x, y, w, h, wb x, y, w, h, wb
virtual at 0 virtual at 0
p:: file CD#'/media/'#name#'.BMP' p:: file CD#'/media/'#name#'.bmp'
END virtual END virtual
IF ~bpp in <15,16,24,32> IF ~bpp in <15,16,24,32>
'Invalid BPP' name 'Invalid BPP' name
@ -125,7 +125,7 @@ macro inject.image.8 name {
local i, p, a, c,\ local i, p, a, c,\
x, y, w, h, wb x, y, w, h, wb
virtual at 0 virtual at 0
p:: file CD#'/media/'#name#'.BMP' p:: file CD#'/media/'#name#'.bmp'
END virtual END virtual
load a word from p:0 load a word from p:0
IF a<>'BM' IF a<>'BM'