# HG changeset patch # User alex # Date 1058107408 0 # Node ID c1247b33c424c352e332b4622ae88fc7ad2c055b # Parent 7e19afc06cbdc56361aac9847e032ad28d409090 moved some annonying messages to debug mode only diff -r 7e19afc06cbd -r c1247b33c424 mp_msg.c --- a/mp_msg.c Sun Jul 13 12:41:37 2003 +0000 +++ b/mp_msg.c Sun Jul 13 14:43:28 2003 +0000 @@ -31,14 +31,18 @@ void mp_msg_init(){ #ifdef USE_I18N +#ifdef MP_DEBUG fprintf(stdout, "Using GNU internationalization\n"); fprintf(stdout, "Original domain: %s\n", textdomain(NULL)); fprintf(stdout, "Original dirname: %s\n", bindtextdomain(textdomain(NULL),NULL)); +#endif setlocale(LC_ALL, ""); /* set from the environment variables */ bindtextdomain("mplayer", PREFIX"/share/locale"); textdomain("mplayer"); +#ifdef MP_DEBUG fprintf(stdout, "Current domain: %s\n", textdomain(NULL)); - fprintf(stdout, "Current dirname: %s\n", bindtextdomain(textdomain(NULL),NULL)); + fprintf(stdout, "Current dirname: %s\n\n", bindtextdomain(textdomain(NULL),NULL)); +#endif #endif mp_msg_set_level(MSGL_STATUS); } @@ -90,7 +94,8 @@ #endif #ifdef MSG_USE_COLORS -#if 1 +/* that's only a silly color test */ +#ifdef MP_DEBUG { int c; static int flag=1; if(flag)