diff options
Diffstat (limited to 'sysutils/screen49/files/patch-resize.c')
-rw-r--r-- | sysutils/screen49/files/patch-resize.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sysutils/screen49/files/patch-resize.c b/sysutils/screen49/files/patch-resize.c deleted file mode 100644 index 216fec9c1ab6..000000000000 --- a/sysutils/screen49/files/patch-resize.c +++ /dev/null @@ -1,20 +0,0 @@ ---- resize.c.orig 2023-08-16 00:29:26 UTC -+++ resize.c -@@ -683,6 +683,17 @@ int wi, he, hi; - he = MAXWIDTH; - } - -+ if (wi > 1000) -+ { -+ Msg(0, "Window width too large, truncated"); -+ wi = 1000; -+ } -+ if (he > 1000) -+ { -+ Msg(0, "Window height too large, truncated"); -+ he = 1000; -+ } -+ - if (p->w_width == wi && p->w_height == he && p->w_histheight == hi) - { - debug("ChangeWindowSize: No change.\n"); |