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:
f001c60
)
フォーラムメッセージ https://sourceforge.jp/projects/hengband/forums/30152/33687/72875/
author
Deskull
<desull@users.sourceforge.jp>
Sat, 28 Jun 2014 11:04:23 +0000
(20:04 +0900)
committer
Deskull
<desull@users.sourceforge.jp>
Sat, 28 Jun 2014 11:04:23 +0000
(20:04 +0900)
に従って、Term_fresh()関数を修正。
src/z-term.c
patch
|
blob
|
history
diff --git
a/src/z-term.c
b/src/z-term.c
index
4e306cf
..
e84c518
100644
(file)
--- a/
src/z-term.c
+++ b/
src/z-term.c
@@
-1503,7
+1503,9
@@
errr Term_fresh(void)
term_win *old = Term->old;
term_win *scr = Term->scr;
-
+
+ /* Before initialize (Advice from Mr.shimitei)*/
+ if (!old || !scr) return (1);
/* Do nothing unless "mapped" */
if (!Term->mapped_flag) return (1);