From 65e8802fe20e9f882062683f287108d2e2436719 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 13 Nov 2005 13:43:21 +0000 Subject: Fixing various stuff, especially DVD reading. --- include/Main.h | 6 +++--- include/generic.h | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/Main.h b/include/Main.h index 7d8da5e..ed787b5 100644 --- a/include/Main.h +++ b/include/Main.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Main.h,v 1.16 2004-11-27 21:46:03 pixel Exp $ */ +/* $Id: Main.h,v 1.17 2005-11-13 13:43:21 pixel Exp $ */ #ifndef __MAIN_H__ #define __MAIN_H__ @@ -48,11 +48,11 @@ class Appli; \ Appli * Application; \ class Appli : public Main { #define CODE_ENDS }; \ -int main(int argc, char ** argv) { \ +int main(int argc, char ** argv, char ** enve) { \ int r; \ setlocale(LC_ALL, ""); \ Application = new Appli(); \ - r = Main::truemain(Application, argc, argv, environ); \ + r = Main::truemain(Application, argc, argv, enve); \ delete Application; \ return r; \ } diff --git a/include/generic.h b/include/generic.h index ab0f74a..243e8a7 100644 --- a/include/generic.h +++ b/include/generic.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: generic.h,v 1.34 2005-11-02 21:34:01 pixel Exp $ */ +/* $Id: generic.h,v 1.35 2005-11-13 13:43:21 pixel Exp $ */ #ifndef __GENERIC_H__ #define __GENERIC_H__ @@ -26,11 +26,11 @@ #include #include -#define M_BARE -1 -#define M_ERROR 0 -#define M_STATUS 1 -#define M_WARNING 2 -#define M_INFO 3 +#define M_BARE 0 +#define M_ERROR 1 +#define M_STATUS 2 +#define M_WARNING 3 +#define M_INFO 4 #ifdef _WIN32 #include -- cgit v1.2.3