Skip to content
Snippets Groups Projects
Commit 71554453 authored by rswindell's avatar rswindell
Browse files

Added range checks when initializing textinfo.screenwidth and screeheight

(don't wrap around if value is > 255) - presumably these textinfo struct
members were left as unsigned chars (8-bits) to preserve compatiblity with
legacy conio apps, but I'm not sure. Perhaps we could increase these to
at least 16-bit integers or bigger in the future, in which case these range
checks would need to be removed or replaced.
parent 414f9838
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment