Commit 3e87101c authored by Ben Avison's avatar Ben Avison
Browse files

Wimp_ReportError would loop indefinitely if the error string was zero length...

Wimp_ReportError would loop indefinitely if the error string was zero length and the desktop font was an outline font.

Version 4.89. Not tagged
parent 5a753f1d
......@@ -2779,7 +2779,7 @@ clearstack
LDR R0, linecount
Debug err, "Error message icon line count =", R0
CMP R0, #errmess_maxlines
BLS %FT01 ; satisfactory number of lines, we don't need to stretch any further
BLE %FT01 ; satisfactory number of lines, we don't need to stretch any further
LDR R2, [sp, #1*4] ; R2 -> text icon definition
LDR R3, [R2, #i_bbx0]
SUB R3, R3, #errmess_increment ; enlarge window by one step
......
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