diff options
author | pixel <pixel> | 2005-11-13 13:43:21 +0000 |
---|---|---|
committer | pixel <pixel> | 2005-11-13 13:43:21 +0000 |
commit | 65e8802fe20e9f882062683f287108d2e2436719 (patch) | |
tree | f27a18169b589ed102bd469589a2cf409a3baeb2 /include | |
parent | ddd848c25e026cad919f6039a60df37c86c8332e (diff) |
Fixing various stuff, especially DVD reading.
Diffstat (limited to 'include')
-rw-r--r-- | include/Main.h | 6 | ||||
-rw-r--r-- | include/generic.h | 12 |
2 files changed, 9 insertions, 9 deletions
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 <sys/stat.h> #include <string.h> -#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 <windows.h> |