From 1e914cce17fe120a0d0d829fdd18a3f5b21e2638 Mon Sep 17 00:00:00 2001 From: nothere Date: Fri, 30 May 2003 10:44:39 +0000 Subject: [PATCH] =?utf8?q?^A=20O=20=E3=81=AE=E5=87=BA=E5=8A=9B=E3=82=92?= =?utf8?q?=E8=BF=BD=E8=A8=98=E5=9E=8B=E3=81=AB=E3=81=97=E3=81=A6,=20?= =?utf8?q?=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92=E6=98=8E?= =?utf8?q?=E8=A8=98=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89?= =?utf8?q?=E6=9B=B4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/wizard2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wizard2.c b/src/wizard2.c index 2331f4a28..46202eaff 100644 --- a/src/wizard2.c +++ b/src/wizard2.c @@ -1691,7 +1691,7 @@ static void do_cmd_dump_options(void) FILE_TYPE(FILE_TYPE_TEXT); /* Open the file */ - fff = my_fopen(buf, "w"); + fff = my_fopen(buf, "a"); /* Oops */ if (!fff) @@ -1717,7 +1717,8 @@ static void do_cmd_dump_options(void) if (ot_ptr->o_var) exist[ot_ptr->o_set][ot_ptr->o_bit] = i + 1; } - fputs("[Option bits usage]\n\n", fff); + fprintf(fff, "[Option bits usage on Hengband %d.%d.%d]\n\n", + FAKE_VER_MAJOR - 10, FAKE_VER_MINOR, FAKE_VER_PATCH); fputs("Set - Bit (Page) Option Name\n", fff); fputs("------------------------------------------------\n", fff); -- 2.11.0