no quotes in WINDOWPORT macro invocation

This commit is contained in:
nhmall
2022-06-29 22:13:28 -04:00
parent eaa3b35fcf
commit a518d82c54
16 changed files with 51 additions and 51 deletions

View File

@@ -2441,7 +2441,7 @@ update_inventory(void)
save_suppress_price = iflags.suppress_price;
iflags.suppress_price = 0;
#if defined(TTY_PERM_INVENT) && defined(CORE_INVENT)
if (WINDOWPORT("tty"))
if (WINDOWPORT(tty))
sync_perminvent();
else
#else
@@ -5407,7 +5407,7 @@ sync_perminvent(void)
* FALSE without actually doing anything else.
*/
#ifdef TTY_PERM_INVENT
if (WINDOWPORT("tty"))
if (WINDOWPORT(tty))
perm_invent_toggled(TRUE); /* TRUE means negated */
#endif
(void) doredraw();
@@ -5443,7 +5443,7 @@ sync_perminvent(void)
* [port]_update_inventory() mechanism.
*/
if (WINDOWPORT("tty") && iflags.perm_invent)
if (WINDOWPORT(tty) && iflags.perm_invent)
wport_id = "tty perm_invent";
else
wport_id = "perm_invent";