summaryrefslogtreecommitdiffstats
path: root/hacks/xmatrix.c
diff options
context:
space:
mode:
authorSimon Rettberg2020-12-02 08:23:52 +0100
committerSimon Rettberg2020-12-02 08:23:52 +0100
commit2954208d00d422b34fa3a69631b0a091f17a349d (patch)
treeb4322e320155656af133b8f47025d00b17a68f64 /hacks/xmatrix.c
parentUpdate to 5.43 (diff)
downloadxscreensaver-2954208d00d422b34fa3a69631b0a091f17a349d.tar.gz
xscreensaver-2954208d00d422b34fa3a69631b0a091f17a349d.tar.xz
xscreensaver-2954208d00d422b34fa3a69631b0a091f17a349d.zip
5.44
Diffstat (limited to 'hacks/xmatrix.c')
-rw-r--r--hacks/xmatrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hacks/xmatrix.c b/hacks/xmatrix.c
index 45c5f9d..70f6516 100644
--- a/hacks/xmatrix.c
+++ b/hacks/xmatrix.c
@@ -1311,7 +1311,7 @@ hack_text (m_state *state)
/* Stupid iPhone X bezel.
#### This is the worst of all possible ways to do this! But how else?
*/
- if (state->xgwa.width == 2436 || state->xgwa.height == 2436)
+ if (state->xgwa.width == 1218 || state->xgwa.height == 1218)
switch (state->mode)
{
case TRACE_TEXT_A:
@@ -1319,7 +1319,7 @@ hack_text (m_state *state)
case KNOCK:
case NMAP:
{
- int off = 5 * (state->small_p ? 2 : 1);
+ int off = 2 * (state->small_p ? 2 : 1);
if (state->xgwa.width > state->xgwa.height)
{
state->typing_left_margin += off;