• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision734a6b102384b480c2e067fb0bb9987fe994fe26 (tree)
Time2019-03-12 13:36:30
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 コメント整理。 / Refactor comments.

Change Summary

Incremental Difference

--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -874,8 +874,6 @@ static void do_cmd_erase_nikki(void)
874874
875875 /* Build the filename */
876876 path_build(buf, sizeof(buf), ANGBAND_DIR_USER, file_name);
877-
878- /* Remove the file */
879877 fd_kill(buf);
880878
881879 fff = my_fopen(buf, "w");
@@ -4812,8 +4810,6 @@ static void do_cmd_knowledge_inven(void)
48124810
48134811 /* Display the file contents */
48144812 show_file(TRUE, file_name, _("*鑑定*済み武器/防具の耐性リスト", "Resistances of *identified* equipment"), 0, 0);
4815-
4816- /* Remove the file */
48174813 fd_kill(file_name);
48184814 }
48194815
@@ -5371,8 +5367,6 @@ static void do_cmd_knowledge_artifacts(void)
53715367
53725368 /* Display the file contents */
53735369 show_file(TRUE, file_name, _("既知の伝説のアイテム", "Artifacts Seen"), 0, 0);
5374-
5375- /* Remove the file */
53765370 fd_kill(file_name);
53775371 }
53785372
@@ -5496,8 +5490,6 @@ static void do_cmd_knowledge_uniques(void)
54965490
54975491 /* Display the file contents */
54985492 show_file(TRUE, file_name, _("まだ生きているユニーク・モンスター", "Alive Uniques"), 0, 0);
5499-
5500- /* Remove the file */
55015493 fd_kill(file_name);
55025494 }
55035495
@@ -5553,8 +5545,6 @@ static void do_cmd_knowledge_weapon_exp(void)
55535545
55545546 /* Display the file contents */
55555547 show_file(TRUE, file_name, _("武器の経験値", "Weapon Proficiency"), 0, 0);
5556-
5557- /* Remove the file */
55585548 fd_kill(file_name);
55595549 }
55605550
@@ -5642,8 +5632,6 @@ static void do_cmd_knowledge_spell_exp(void)
56425632
56435633 /* Display the file contents */
56445634 show_file(TRUE, file_name, _("魔法の経験値", "Spell Proficiency"), 0, 0);
5645-
5646- /* Remove the file */
56475635 fd_kill(file_name);
56485636 }
56495637
@@ -5690,8 +5678,6 @@ static void do_cmd_knowledge_skill_exp(void)
56905678
56915679 /* Display the file contents */
56925680 show_file(TRUE, file_name, _("技能の経験値", "Miscellaneous Proficiency"), 0, 0);
5693-
5694- /* Remove the file */
56955681 fd_kill(file_name);
56965682 }
56975683
@@ -5878,8 +5864,6 @@ static void do_cmd_knowledge_pets(void)
58785864
58795865 /* Display the file contents */
58805866 show_file(TRUE, file_name, _("現在のペット", "Current Pets"), 0, 0);
5881-
5882- /* Remove the file */
58835867 fd_kill(file_name);
58845868 }
58855869
@@ -6038,8 +6022,6 @@ static void do_cmd_knowledge_kill_count(void)
60386022
60396023 /* Display the file contents */
60406024 show_file(TRUE, file_name, _("倒した敵の数", "Kill Count"), 0, 0);
6041-
6042- /* Remove the file */
60436025 fd_kill(file_name);
60446026 }
60456027
@@ -7550,8 +7532,6 @@ static void do_cmd_knowledge_kubi(void)
75507532
75517533 /* Display the file contents */
75527534 show_file(TRUE, file_name, _("賞金首の一覧", "Wanted monsters"), 0, 0);
7553-
7554- /* Remove the file */
75557535 fd_kill(file_name);
75567536 }
75577537
@@ -7580,8 +7560,6 @@ static void do_cmd_knowledge_virtues(void)
75807560
75817561 /* Display the file contents */
75827562 show_file(TRUE, file_name, _("八つの徳", "Virtues"), 0, 0);
7583-
7584- /* Remove the file */
75857563 fd_kill(file_name);
75867564 }
75877565
@@ -7624,8 +7602,6 @@ static void do_cmd_knowledge_dungeon(void)
76247602
76257603 /* Display the file contents */
76267604 show_file(TRUE, file_name, _("今までに入ったダンジョン", "Dungeon"), 0, 0);
7627-
7628- /* Remove the file */
76297605 fd_kill(file_name);
76307606 }
76317607
@@ -7671,8 +7647,6 @@ static void do_cmd_knowledge_stat(void)
76717647
76727648 /* Display the file contents */
76737649 show_file(TRUE, file_name, _("自分に関する情報", "HP-rate & Max stat"), 0, 0);
7674-
7675- /* Remove the file */
76767650 fd_kill(file_name);
76777651 }
76787652
@@ -8059,8 +8033,6 @@ static void do_cmd_knowledge_quests(void)
80598033
80608034 /* Display the file contents */
80618035 show_file(TRUE, file_name, _("クエスト達成状況", "Quest status"), 0, 0);
8062-
8063- /* Remove the file */
80648036 fd_kill(file_name);
80658037
80668038 /* Free Memory */
@@ -8141,8 +8113,6 @@ static void do_cmd_knowledge_home(void)
81418113
81428114 /* Display the file contents */
81438115 show_file(TRUE, file_name, _("我が家のアイテム", "Home Inventory"), 0, 0);
8144-
8145- /* Remove the file */
81468116 fd_kill(file_name);
81478117 }
81488118
@@ -8210,8 +8180,6 @@ static void do_cmd_knowledge_autopick(void)
82108180 my_fclose(fff);
82118181 /* Display the file contents */
82128182 show_file(TRUE, file_name, _("自動拾い/破壊 設定リスト", "Auto-picker/Destroyer"), 0, 0);
8213-
8214- /* Remove the file */
82158183 fd_kill(file_name);
82168184 }
82178185
--- a/src/mutation.c
+++ b/src/mutation.c
@@ -2018,8 +2018,6 @@ void do_cmd_knowledge_mutations(void)
20182018
20192019 /* Display the file contents */
20202020 show_file(TRUE, file_name, _("突然変異", "Mutations"), 0, 0);
2021-
2022- /* Remove the file */
20232021 fd_kill(file_name);
20242022 }
20252023
--- a/src/report.c
+++ b/src/report.c
@@ -297,8 +297,6 @@ static errr make_dump(BUF* dumpbuf)
297297 (void)buf_sprintf(dumpbuf, "%s", buf);
298298 }
299299 my_fclose(fff);
300-
301- /* Remove the file */
302300 fd_kill(file_name);
303301
304302 /* Success */
Show on old repository browser