待辦事項 #21483

effects.cでバッファオーバーラン(英語版のみ)

啟用日期: 2010-04-20 07:54 最後更新: 2020-12-20 21:56

回報者:
負責人:
類型:
狀態:
關閉
元件:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:

細節

effects.cの5308行以降で、日本語版は問題ありませんが、英語版はバッファが足りていません。

				char buf[10];

				if (p_ptr->inside_arena)
#ifdef JP
					strcpy(buf,"アリーナ");
#else
					strcpy(buf,"in the Arena");
#endif
				else if (!dun_level)
#ifdef JP
					strcpy(buf,"地上");
#else
					strcpy(buf,"on the surface");
#endif
				else if (q_idx && (is_fixed_quest_idx(q_idx) &&
				         !((q_idx == QUEST_OBERON) || (q_idx == QUEST_SERPENT))))
#ifdef JP
					strcpy(buf,"クエスト");
#else
					strcpy(buf,"in a quest");
#endif
				else
#ifdef JP
					sprintf(buf,"%d階", dun_level);
#else
					sprintf(buf,"level %d", dun_level);
#endif

Ticket History (3/5 Histories)

2010-04-20 07:54 Updated by: shimitei
  • New Ticket "effects.cでバッファオーバーラン(英語版のみ)" created
2011-03-09 00:15 Updated by: deskull
  • 負責人 Update from (無) to deskull
2011-03-09 00:23 Updated by: deskull
  • 處理結果 Update from to 修正
評語

対応しました、報告ありがとうございます。

2011-03-09 00:23 Updated by: deskull
  • 狀態 Update from 開啟 to 關閉
  • Ticket Close date is changed to 2011-03-09 00:23
2020-12-20 21:56 Updated by: deskull

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入