Commit 9f8df10
Ulrich Hecht
basic: SCREEN: set font after resetting screen
Unevenly sized fonts clip the text window by a few pixels. When the text
screen is reset these window dimensions are preserved, and when a font
that fits the screen resolution evenly is selected afterwards, it will
be missing the clipped pixels and the screen will have one character less
per line.
Fixes lost characters when using SCREEN with the same mode already active
and a non-default font selected.1 parent 50fee30 commit 9f8df10
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
0 commit comments