mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-24 20:22:11 +03:00
* slint.c (slang_init): Limit screen size to 255x255 because of
S-Lang limitations. Reported by Tero Peippola <top@ees2.oulu.fi>
This commit is contained in:
parent
0105a5a3d2
commit
90243a202f
@ -1,3 +1,9 @@
|
|||||||
|
2003-01-23 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* slint.c (slang_init): Limit screen size to 255x255 because of
|
||||||
|
S-Lang limitations.
|
||||||
|
Reported by Tero Peippola <top@ees2.oulu.fi>
|
||||||
|
|
||||||
2003-01-22 Adam Byrtek <alpha@debian.org>
|
2003-01-22 Adam Byrtek <alpha@debian.org>
|
||||||
|
|
||||||
* cmd.c (view_other_cmd): Update path in the xterm title after
|
* cmd.c (view_other_cmd): Update path in the xterm title after
|
||||||
|
@ -182,7 +182,7 @@ slang_init (void)
|
|||||||
* (as of S-Lang 1.4.4). Detect it and abort. Also detect extremely
|
* (as of S-Lang 1.4.4). Detect it and abort. Also detect extremely
|
||||||
* small, large and negative screen dimensions.
|
* small, large and negative screen dimensions.
|
||||||
*/
|
*/
|
||||||
if ((COLS < 10) || (LINES < 5) || (COLS > 1024) || (LINES > 1024)) {
|
if ((COLS < 10) || (LINES < 5) || (COLS > 255) || (LINES > 255)) {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("Screen size %dx%d is not supported.\n"
|
_("Screen size %dx%d is not supported.\n"
|
||||||
"Check the TERM environment variable.\n"),
|
"Check the TERM environment variable.\n"),
|
||||||
|
Loading…
Reference in New Issue
Block a user