• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisiona8fdecc5a53e49d9ed96ce1c0d3af06df7913d33 (tree)
Time2014-06-28 20:04:23
AuthorDeskull <desull@user...>
CommiterDeskull

Log Message

フォーラムメッセージ https://sourceforge.jp/projects/hengband/forums/30152/33687/72875/
に従って、Term_fresh()関数を修正。

Change Summary

Incremental Difference

--- a/src/z-term.c
+++ b/src/z-term.c
@@ -1503,7 +1503,9 @@ errr Term_fresh(void)
15031503
15041504 term_win *old = Term->old;
15051505 term_win *scr = Term->scr;
1506-
1506+
1507+ /* Before initialize (Advice from Mr.shimitei)*/
1508+ if (!old || !scr) return (1);
15071509
15081510 /* Do nothing unless "mapped" */
15091511 if (!Term->mapped_flag) return (1);
Show on old repository browser