Allow msg_window option to be silently ignored by non-tty ports.
This commit is contained in:
+3
-2
@@ -1090,10 +1090,11 @@ boolean tinitial, tfrom_file;
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TTY_GRAPHICS
|
|
||||||
fullname="msg_window";
|
fullname="msg_window";
|
||||||
/* msg_window:single, combo, full or reversed */
|
/* msg_window:single, combo, full or reversed */
|
||||||
if (match_optname(opts, fullname, 4, TRUE)) {
|
if (match_optname(opts, fullname, 4, TRUE)) {
|
||||||
|
/* allow option to be silently ignored by non-tty ports */
|
||||||
|
#ifdef TTY_GRAPHICS
|
||||||
int tmp;
|
int tmp;
|
||||||
if (!(op = string_for_opt(opts, TRUE))) {
|
if (!(op = string_for_opt(opts, TRUE))) {
|
||||||
tmp = negated ? 's' : 'f';
|
tmp = negated ? 's' : 'f';
|
||||||
@@ -1120,9 +1121,9 @@ boolean tinitial, tfrom_file;
|
|||||||
default:
|
default:
|
||||||
badoption(opts);
|
badoption(opts);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* WINCAP
|
/* WINCAP
|
||||||
* setting font options */
|
* setting font options */
|
||||||
|
|||||||
Reference in New Issue
Block a user