OSDN Git Service

fix #40803
authorSHIRAKATA Kentaro <argrath@ub32.org>
Thu, 24 Sep 2020 21:56:33 +0000 (06:56 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Mon, 2 Nov 2020 21:00:22 +0000 (06:00 +0900)
ChangeLog.j
win/X11/winX.c

index 8ab7f0c..77e2b29 100644 (file)
@@ -2,6 +2,7 @@
          * X11\8aÂ\8b«\82Å\93ú\96{\8cê\93ü\97Í\82ª\82Å\82«\82È\82¢ (#40562)
          * \88ê\95\94\82Ì\83I\83v\83V\83\87\83\93\82Å\89p\8cê\82Ì\83t\83\8b\83l\81[\83\80\82ð\8eg\82¦\82È\82¢ (#40657)
          * X11\94Å\82Åascii_map\82ª\90³\82µ\82­\95\\8e¦\82³\82ê\82È\82¢ (#40530)
+         * X11\82Åascii_map\95\\8e¦\82·\82é\82Æ\83\8a\83\\81[\83X\83G\83\89\81[\82ª\94­\90\82·\82é (#40803)
        * X11LARGETILE\82ð\8dí\8f\9c(#40681)
        * JNetHack.ad\82ð\8dÅ\90V\82É\8dX\90V(#40531)
 
index 71ba600..e9a782b 100644 (file)
@@ -336,12 +336,24 @@ struct xwindow *wp;
     rDB = XrmGetDatabase(dpy);
 
     for (color = 0; color < CLR_MAX; color++) {
+/*JP
         Sprintf(clr_name, "nethack.%s.%s", wtn, mapCLR_to_res[color]);
+*/
+        Sprintf(clr_name, "jnethack.%s.%s", wtn, mapCLR_to_res[color]);
+/*JP
         Sprintf(clrclass, "NetHack.%s.%s", wtn_up, mapCLR_to_res[color]);
+*/
+        Sprintf(clrclass, "JNetHack.%s.%s", wtn_up, mapCLR_to_res[color]);
 
         if (!XrmGetResource(rDB, clr_name, clrclass, ret_type, &value)) {
+/*JP
             Sprintf(clr_name, "nethack.map.%s", mapCLR_to_res[color]);
+*/
+            Sprintf(clr_name, "jnethack.map.%s", mapCLR_to_res[color]);
+/*JP
             Sprintf(clrclass, "NetHack.Map.%s", mapCLR_to_res[color]);
+*/
+            Sprintf(clrclass, "JNetHack.Map.%s", mapCLR_to_res[color]);
         }
 
         if (!XrmGetResource(rDB, clr_name, clrclass, ret_type, &value)) {