• R/O
  • HTTP
  • SSH
  • HTTPS

source: 提交


Commit MetaInfo

修訂c3f7a5a13914a985a1ce9456109d5a998a375d3a (tree)
時間2022-11-01 20:10:16
作者SHIRAKATA Kentaro <argrath@ub32...>
CommiterSHIRAKATA Kentaro

Log Message

adjust comment out

Change Summary

差異

--- a/src/cmd.c
+++ b/src/cmd.c
@@ -4985,9 +4985,10 @@ struct ext_func_tab extcmdlist[] = {
49854985 #endif
49864986 dopramulet, IFBURIED },
49874987 #if 0 /*JP:T*/
4988+ { ARMOR_SYM, "seearmor", "show the armor currently worn",
49884989 #else
4989-#endif
49904990 { ARMOR_SYM, "seearmor", "使っている防具を表示する",
4991+#endif
49914992 doprarm, IFBURIED },
49924993 #if 0 /*JP:T*/
49934994 { GOLD_SYM, "seegold", "count your gold", doprgold, IFBURIED },
--- a/src/wield.c
+++ b/src/wield.c
@@ -916,7 +916,11 @@ chwepon(otmp, amount)
916916 register struct obj *otmp;
917917 register int amount;
918918 {
919+#if 0 /*JP*/
920+ const char *color = hcolor((amount < 0) ? NH_BLACK : NH_BLUE);
921+#else
919922 const char *color = hcolor_adv((amount < 0) ? NH_BLACK : NH_BLUE);
923+#endif
920924 const char *xtime, *wepname = "";
921925 boolean multiple;
922926 int otyp = STRANGE_OBJECT;
--- a/win/tty/termcap.c
+++ b/win/tty/termcap.c
@@ -579,11 +579,10 @@ int c; /* actually char, but explicitly specify its widened type */
579579 * Matching putchar()'s declaration and using explicit casts where
580580 * warranted is more robust, so we're just a jacket around that.
581581 */
582-/*JP
583- (void) putchar(c);
584-*/
582+#if 0 /*JP*/
583+ return putchar(c);
584+#else
585585 (void) cputchar(c);
586-#if 1 /*JP*/
587586 return 0;
588587 #endif
589588 }
--- a/win/tty/wintty.c
+++ b/win/tty/wintty.c
@@ -1412,8 +1412,12 @@ tty_askname()
14121412 */
14131413 (void) putchar(c);
14141414 #else
1415+#if 0 /*JP*/
1416+ (void) putchar(c);
1417+#else
14151418 (void) jputchar(c);
14161419 #endif
1420+#endif
14171421 #if 0 /*JP*/
14181422 plname[ct++] = c;
14191423 #else
Show on old repository browser