Commit 987daf08 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Two magic numbers swapped to defines.

Retagged as Wimp-5_14.
parent d6ddcbac
......@@ -2390,8 +2390,8 @@ WimpWriteDir_Code
Pull "PC",HI
MOV r0,#-1
SWI XTerritory_WriteDirection
MOVVS R0,#0
TST R0,#1
MOVVS R0,#WriteDirection_LeftToRight
TST R0,#WriteDirection_RightToLeft
SUBNE R2,R2,#1
LDR R12,[R12] ; get workspace pointer!
STR R2,writeabledir
......
......@@ -333,8 +333,8 @@ initfirsttask
;
MOV R0,#-1
SWI XTerritory_WriteDirection
MOVVS R0,#0
TST R0,#1
MOVVS R0,#WriteDirection_LeftToRight
TST R0,#WriteDirection_RightToLeft
MOVNE R0,#-1
MOVEQ R0,#0
STR R0,writeabledir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment