From be2b213a46c3302a2d0407ba8f6d91dfca01890a Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 11 Mar 2007 17:51:17 +0000 Subject: [PATCH] the changes to wesconfig.h didn't survive a configure, now they do --- configure.ac | 8 +++++++- src/wesconfig.h | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 26790359597..fe65b028547 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,13 @@ AC_CONFIG_COMMANDS([src/wesconfig.h], # define LOCALEDIR "translations" # endif #endif - +/** + * WML errors can be shown in 2 ways, as dialog or as chat message + * if WML_ERROR_DIALOG == 1 it's shown as dialog else as chat message + * for development versions the dialog should be used for the stable + * releases the chat messages + */ +#define WML_ERROR_DIALOG 1 #endif EOF ]) diff --git a/src/wesconfig.h b/src/wesconfig.h index fbec442dd95..c6cab6618f7 100644 --- a/src/wesconfig.h +++ b/src/wesconfig.h @@ -11,7 +11,6 @@ # define LOCALEDIR "translations" # endif #endif - /** * WML errors can be shown in 2 ways, as dialog or as chat message * if WML_ERROR_DIALOG == 1 it's shown as dialog else as chat message @@ -19,5 +18,4 @@ * releases the chat messages */ #define WML_ERROR_DIALOG 1 - #endif