OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8b89e
)
[Refactor] #37353 型の置換。 / Type replacement. (TERM_LEN)
author
deskull
<deskull@users.sourceforge.jp>
Sun, 3 Mar 2019 13:24:44 +0000
(22:24 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Sun, 3 Mar 2019 13:24:44 +0000
(22:24 +0900)
src/cmd-item.c
patch
|
blob
|
history
diff --git
a/src/cmd-item.c
b/src/cmd-item.c
index
9baf208
..
6edb033
100644
(file)
--- a/
src/cmd-item.c
+++ b/
src/cmd-item.c
@@
-64,7
+64,7
@@
void do_cmd_inven(void)
/* Process "Escape" */
if (command_new == ESCAPE)
{
-
int
wid, hgt;
+
TERM_LEN
wid, hgt;
Term_get_size(&wid, &hgt);
@@
-90,7
+90,6
@@
void do_cmd_equip(void)
{
char out_val[160];
-
/* Note that we are in "equipment" mode */
command_wrk = TRUE;
@@
-118,7
+117,7
@@
void do_cmd_equip(void)
/* Process "Escape" */
if (command_new == ESCAPE)
{
-
int
wid, hgt;
+
TERM_LEN
wid, hgt;
Term_get_size(&wid, &hgt);