* Avoid print a no init buffer. Regards, Carlos. -- ___ _ \ | / Infraestructuras | . |._ _ _| | ___ ___ ___ http://www.andago.com | || ' |/ . |<_> |/ . |/ . \__ GNU/Linux |_|_||_|_|\___|<___|\_. |\___/ _ \ __|\ \ / Carlos A. Lozano <___'/ | \ -_) __/\__ \ > < -_) [ carlos.lozano@andago.com ]\___|_| ____/ _/\_\___| [ calb@epsxe.com ] http://www.epsxe.com
--- dlls/x11drv/xvidmode.c 22 Apr 2003 00:15:48 -0000 1.18 +++ dlls/x11drv/xvidmode.c 19 May 2003 22:02:39 -0000 @@ -466,7 +466,7 @@ _X_FIELD(CDS,UPDATEREGISTRY);_X_FIELD(CDS,TEST);_X_FIELD(CDS,FULLSCREEN); _X_FIELD(CDS,GLOBAL);_X_FIELD(CDS,SET_PRIMARY);_X_FIELD(CDS,RESET); _X_FIELD(CDS,SETRECT);_X_FIELD(CDS,NORESET); - return wine_dbg_sprintf("%s", buf); + return wine_dbg_sprintf("%s", first ? "" : buf); } static const char * _DM_fields(DWORD fields) { @@ -475,7 +475,7 @@ char *p = buf; _X_FIELD(DM,BITSPERPEL);_X_FIELD(DM,PELSWIDTH);_X_FIELD(DM,PELSHEIGHT); _X_FIELD(DM,DISPLAYFLAGS);_X_FIELD(DM,DISPLAYFREQUENCY);_X_FIELD(DM,POSITION); - return wine_dbg_sprintf("%s", buf); + return wine_dbg_sprintf("%s", first ? "" : buf); } #undef _X_FIELD