mudgangster

Log | Files | Refs

commit 7b97755ef9c947c031a8a2c2a9a9c0bed5420b11
parent 335f66a3c12b5359b8236a3106c4fb00dea3cc12
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu, 27 Dec 2012 20:37:39 +0000

Move some defines into config.h

Diffstat:
src/common.h | 9+--------
src/config.h | 7+++++++
2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/common.h b/src/common.h @@ -5,6 +5,7 @@ typedef enum { false, true } bool; #include <X11/Xlib.h> +#include "config.h" #include "textbox.h" struct @@ -92,11 +93,3 @@ struct #define MIN( a, b ) ( ( a ) < ( b ) ? ( a ) : ( b ) ) #define MAX( a, b ) ( ( a ) > ( b ) ? ( a ) : ( b ) ) - -#define PADDING 3 -#define SPACING 1 - -#define OUTPUT_MAX_LINES 131072 -#define CHAT_ROWS 7 - -#define MAX_INPUT_HISTORY 128 diff --git a/src/config.h b/src/config.h @@ -0,0 +1,7 @@ +#define PADDING 3 +#define SPACING 1 + +#define OUTPUT_MAX_LINES 131072 +#define CHAT_ROWS 10 + +#define MAX_INPUT_HISTORY 128