follow-up: whitespace clean-up for wintty.c
Some tabs to spaces. Also restore a comment that was inadvertantly deleted.
This commit is contained in:
@@ -2867,9 +2867,9 @@ tty_ctrl_nhwindow(
|
|||||||
if (!tty_ok) {
|
if (!tty_ok) {
|
||||||
#ifdef RESIZABLE
|
#ifdef RESIZABLE
|
||||||
/* terminal isn't big enough right now but player might
|
/* terminal isn't big enough right now but player might
|
||||||
* resize it and then use 'm O' to try to set 'perm_invent'
|
* resize it and then use 'm O' to try to set 'perm_invent'
|
||||||
* again
|
* again
|
||||||
*/
|
*/
|
||||||
wri->tocore.tocore_flags |= too_small;
|
wri->tocore.tocore_flags |= too_small;
|
||||||
#else
|
#else
|
||||||
wri->tocore.tocore_flags |= prohibited;
|
wri->tocore.tocore_flags |= prohibited;
|
||||||
@@ -2878,7 +2878,7 @@ tty_ctrl_nhwindow(
|
|||||||
maxslot = (maxrow - 2) * (!inuse_only ? 2 : 1);
|
maxslot = (maxrow - 2) * (!inuse_only ? 2 : 1);
|
||||||
wri->tocore.maxslot = maxslot;
|
wri->tocore.maxslot = maxslot;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* TTY_PERM_INVENT */
|
#endif /* TTY_PERM_INVENT */
|
||||||
break;
|
break;
|
||||||
case set_menu_promptstyle:
|
case set_menu_promptstyle:
|
||||||
@@ -3546,10 +3546,10 @@ assesstty(
|
|||||||
|
|
||||||
if (!ttyDisplay) {
|
if (!ttyDisplay) {
|
||||||
/* too early */
|
/* too early */
|
||||||
*offx = *offy = *rows = *cols = 0;
|
*offx = *offy = *rows = *cols = 0;
|
||||||
*maxcol = 0;
|
*maxcol = 0;
|
||||||
*minrow = *maxrow = 0;
|
*minrow = *maxrow = 0;
|
||||||
return !(*rows < perminv_minrow || *cols < tty_perminv_mincol);
|
return !(*rows < perminv_minrow || *cols < tty_perminv_mincol);
|
||||||
}
|
}
|
||||||
|
|
||||||
*offx = 0;
|
*offx = 0;
|
||||||
@@ -3864,9 +3864,9 @@ tty_print_glyph(
|
|||||||
|
|
||||||
#ifndef NO_TERMS
|
#ifndef NO_TERMS
|
||||||
if (ul_hack && ch == '_') { /* non-destructive underscore */
|
if (ul_hack && ch == '_') { /* non-destructive underscore */
|
||||||
(void) putchar((char) ' ');
|
(void) putchar((char) ' ');
|
||||||
backsp();
|
backsp();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (iflags.use_color) {
|
if (iflags.use_color) {
|
||||||
ttyDisplay->colorflags = NH_BASIC_COLOR;
|
ttyDisplay->colorflags = NH_BASIC_COLOR;
|
||||||
|
|||||||
Reference in New Issue
Block a user