が1行もない場合は現在の生い立ちを消去しないように修正.
+ else if (!histpref_buf[0])
+ {
+#ifdef JP
+ msg_print("͸ú¤ÊÀ¸¤¤Î©¤ÁÀßÄê¤Ï¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤¢¤ê¤Þ¤»¤ó¡£");
+#else
+ msg_print("There does not exist valid background history preference.");
+#endif
+ msg_print(NULL);
+
+ /* Kill the buffer */
+ histpref_buf = NULL;
+
+ return FALSE;
+ }
/* Clear the previous history strings */
for (i = 0; i < 4; i++) p_ptr->history[i][0] = '\0';
/* Clear the previous history strings */
for (i = 0; i < 4; i++) p_ptr->history[i][0] = '\0';