OSDN Git Service

[Refactor] #37353 MESSAGE_BUF, MESSAGE_MAX を util.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Sat, 8 Jun 2019 11:46:31 +0000 (20:46 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sat, 8 Jun 2019 11:46:31 +0000 (20:46 +0900)
src/defines.h
src/util.h

index 0b793c5..89277cf 100644 (file)
  * You have been warned.\n
  */
 
-/*
- * OPTION: Maximum number of messages to remember (see "io.c")
- * Default: assume maximal memorization of 2048 total messages
- */
-#define MESSAGE_MAX  81920
-
-/*
- * OPTION: Maximum space for the message text buffer (see "io.c")
- * Default: assume that each of the 2048 messages is repeated an
- * average of three times, and has an average length of 48
- */
-#define MESSAGE_BUF 655360
-
-
 /*** Screen Locations ***/
 
 /*
index 802541b..19bf95d 100644 (file)
@@ -247,7 +247,18 @@ extern concptr keymap_act[KEYMAP_MODES][256];
  */
 #define QUARK_MAX       768
 
+/*
+ * OPTION: Maximum number of messages to remember (see "io.c")
+ * Default: assume maximal memorization of 2048 total messages
+ */
+#define MESSAGE_MAX  81920
 
+/*
+ * OPTION: Maximum space for the message text buffer (see "io.c")
+ * Default: assume that each of the 2048 messages is repeated an
+ * average of three times, and has an average length of 48
+ */
+#define MESSAGE_BUF 655360
 
 /*
  * Hack -- The main "screen"