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:
6ffe986
)
[Fix] #40051 どうして非ポインタに NULL 使う必要があるのか(憤怒) / Fix NULL use to non-pointer variable.
author
deskull
<deskull@users.sourceforge.jp>
Sun, 8 Mar 2020 13:32:06 +0000
(22:32 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Sun, 8 Mar 2020 13:32:06 +0000
(22:32 +0900)
src/cmd/cmd-spell.c
patch
|
blob
|
history
diff --git
a/src/cmd/cmd-spell.c
b/src/cmd/cmd-spell.c
index
1b628f3
..
c8f93c1
100644
(file)
--- a/
src/cmd/cmd-spell.c
+++ b/
src/cmd/cmd-spell.c
@@
-803,7
+803,7
@@
void do_cmd_study(player_type *caster_ptr)
o_ptr = choose_object(caster_ptr, &item, q, s, (USE_INVEN | USE_FLOOR), item_tester_tval);
- item_tester_tval =
NULL
;
+ item_tester_tval =
0
;
if (!o_ptr) return;
/* Access the item's sval */