OSDN Git Service

英語版でメッセージ文の右端が切れていたので修正。
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Wed, 26 Nov 2003 09:10:13 +0000 (09:10 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Wed, 26 Nov 2003 09:10:13 +0000 (09:10 +0000)
また、(0)マクロ行動の入力 でもメッセージを出すようにした。

src/cmd4.c

index bcfa1b7..5ef50d4 100644 (file)
@@ -3252,7 +3252,7 @@ void do_cmd_macros(void)
 #ifdef JP
                        c_prt(TERM_L_RED, "¥«¡¼¥½¥ë¥­¡¼¤Îº¸±¦¤Ç¥«¡¼¥½¥ë°ÌÃÖ¤ò°ÜÆ°¡£Backspace¤«Delete¤Ç°ìʸ»úºï½ü¡£", 22, 0);
 #else
-                       c_prt(TERM_L_RED, "Press Left/Right arrow keys to move cursor. Backspace or Delete to delete a char.", 22, 0);
+                       c_prt(TERM_L_RED, "Press Left/Right arrow keys to move cursor. Backspace/Delete to delete a char.", 22, 0);
 #endif
 
                        /* Prompt */
@@ -3446,7 +3446,7 @@ void do_cmd_macros(void)
 #ifdef JP
                        c_prt(TERM_L_RED, "¥«¡¼¥½¥ë¥­¡¼¤Îº¸±¦¤Ç¥«¡¼¥½¥ë°ÌÃÖ¤ò°ÜÆ°¡£Backspace¤«Delete¤Ç°ìʸ»úºï½ü¡£", 22, 0);
 #else
-                       c_prt(TERM_L_RED, "Press Left/Right arrow keys to move cursor. Backspace or Delete to delete a char.", 22, 0);
+                       c_prt(TERM_L_RED, "Press Left/Right arrow keys to move cursor. Backspace/Delete to delete a char.", 22, 0);
 #endif
 
                        /* Prompt */
@@ -3529,9 +3529,22 @@ void do_cmd_macros(void)
                        prt("Command: Enter a new action", 16, 0);
 #endif
 
+                       /* Clear */
+                       clear_from(20);
+
+                       /* Help message */
+#ifdef JP
+                       c_prt(TERM_L_RED, "¥«¡¼¥½¥ë¥­¡¼¤Îº¸±¦¤Ç¥«¡¼¥½¥ë°ÌÃÖ¤ò°ÜÆ°¡£Backspace¤«Delete¤Ç°ìʸ»úºï½ü¡£", 22, 0);
+#else
+                       c_prt(TERM_L_RED, "Press Left/Right arrow keys to move cursor. Backspace/Delete to delete a char.", 22, 0);
+#endif
 
-                       /* Go to the correct location */
-                       Term_gotoxy(0, 22);
+                       /* Prompt */
+#ifdef JP
+                       prt("¥Þ¥¯¥í¹ÔÆ°: ", 20, 0);
+#else
+                       prt("Action: ", 20, 0);
+#endif
 
                        /* Hack -- limit the value */
                        tmp[80] = '\0';