Fix 3556638: can't use SpriteExtend version number to detect alpha sprite support any more.

This commit is contained in:
John-Mark Bell 2013-01-13 21:49:06 +00:00
parent 6975360e1c
commit a6b117fcb4
2 changed files with 3 additions and 8 deletions

View File

@ -43,14 +43,9 @@ If (("<NetSurf$Publisher>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set NetS
If (("<NetSurf$Description>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set NetSurf$Description "Web browser" If (("<NetSurf$Description>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set NetSurf$Description "Web browser"
| NetSurf Sprites | NetSurf Sprites
| Set NetSurf$Sprites "!Sprites"
| The sprite file used is based on the OS and SpriteExtend versions: /<NetSurf$Dir>.ChkSprites
| RO <> 5 and SpriteExtend < 1.50 uses !Sprites<nn> IconSprites <NetSurf$Dir>.<NetSurf$Sprites>
| RO <> 5 and SpriteExtend >= 1.50 uses ASprites<nn>
| RO = 5 uses 5Sprites<nn>
Set NetSurf$Sprites <NetSurf$Dir>.ASprites
RMEnsure SpriteExtend 1.50 Set NetSurf$Sprites <NetSurf$Dir>.!Sprites
If (("<Boot$OSVersion>" >= "500") AND ("<Boot$OSVersion>" < "600")) Then IconSprites <NetSurf$Dir>.5Sprites Else IconSprites <NetSurf$Sprites>
Unset NetSurf$Sprites Unset NetSurf$Sprites
| Acorn URI protocol | Acorn URI protocol

BIN
!NetSurf/ChkSprites,ffb Normal file

Binary file not shown.