OSDN Git Service

[Refactor] #37353 残っていた'ifndef JP'のプリプロを'ifdef JP'に変更 / Changed remaining preprocesso...
authorHourier <hourier@users.sourceforge.jp>
Sun, 16 Feb 2020 03:39:05 +0000 (12:39 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sun, 16 Feb 2020 03:39:05 +0000 (12:39 +0900)
src/main-x11.c
src/monster-status.c
src/mspells1.c
src/mspells2.c

index d596bc0..10afdc3 100644 (file)
@@ -952,10 +952,6 @@ static errr Infofnt_prepare(XFontSet info)
        else
                ifnt->twid = ifnt->wid;
 
-#ifndef JP
-#endif
-
-       /* Success */
        return (0);
 }
 
index fd52155..5dbf52c 100644 (file)
@@ -744,7 +744,8 @@ static void process_monsters_mtimed_aux(player_type *target_ptr, MONSTER_IDX m_i
                if (is_seen(m_ptr))
                {
                        GAME_TEXT m_name[MAX_NLEN];
-#ifndef JP
+#ifdef JP
+#else
                        char m_poss[80];
 
                        /* Acquire the monster possessive */
index 2aa9e87..315ee19 100644 (file)
@@ -1639,7 +1639,8 @@ bool make_attack_spell(MONSTER_IDX m_idx, player_type *target_ptr)
        GAME_TEXT m_name[MAX_NLEN];
        monster_desc(target_ptr, m_name, m_ptr, 0x00);
 
-#ifndef JP
+#ifdef JP
+#else
        /* Get the monster possessive ("his"/"her"/"its") */
        monster_desc(target_ptr, m_poss, m_ptr, MD_PRON_VISIBLE | MD_POSSESSIVE);
 #endif
index 07f185d..8487af7 100644 (file)
@@ -663,7 +663,8 @@ bool monst_spell_monst(player_type *target_ptr, MONSTER_IDX m_idx)
        /* Get the monster name (or "it") */
        monster_desc(target_ptr, m_name, m_ptr, 0x00);
 
-#ifndef JP
+#ifdef JP
+#else
        /* Get the monster possessive ("his"/"her"/"its") */
        monster_desc(target_ptr, m_poss, m_ptr, MD_PRON_VISIBLE | MD_POSSESSIVE);
 #endif