OSDN Git Service

fix #39081
authorSHIRAKATA Kentaro <argrath@ub32.org>
Sun, 24 Mar 2019 16:31:47 +0000 (01:31 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Sun, 24 Mar 2019 16:31:47 +0000 (01:31 +0900)
ChangeLog.j
src/zap.c

index c929a16..c9f511b 100644 (file)
@@ -1,3 +1,6 @@
+       * \8e\9f\82Ì\96â\91è\82ð\8fC\90³
+         * \8e\80\91Ì\82É\91h\90\82Ì\8fñ\82ð\90U\82é\82Æ\83N\83\89\83b\83V\83\85\82·\82é (#39081)
+
 Sun Dec 26 2018  Kentaro Shirakata  <argrath@ub32.org>
 
        * JNetHack-3.6.1-0.3\83\8a\83\8a\81[\83X
index 99b7f00..fc914f2 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -927,7 +927,7 @@ boolean by_hero;
             unsigned pfx = CXN_PFX_THE;
 
 #if 1 /*JP*//* \8e\80\91Ì\96¼\82Í\90æ\82É */
-            Strcat(buf, corpse_xname(corpse, (const char *) 0, pfx));
+            Strcpy(buf, corpse_xname(corpse, (const char *) 0, pfx));
 #endif
 #if 0 /*JP*/
             Strcpy(buf, one_of ? "one of " : "");