Fixes some debug messages
Lozano, Carlos A.
clozano at andago.com
Mon May 19 17:06:17 CDT 2003
* Avoid print a no init buffer.
Regards,
Carlos.
--
___ _ \ | / Infraestructuras
| . |._ _ _| | ___ ___ ___ http://www.andago.com
| || ' |/ . |<_> |/ . |/ . \__ GNU/Linux
|_|_||_|_|\___|<___|\_. |\___/ _ \ __|\ \ /
Carlos A. Lozano <___'/ | \ -_) __/\__ \ > < -_)
[ carlos.lozano at andago.com ]\___|_| ____/ _/\_\___|
[ calb at epsxe.com ] http://www.epsxe.com
-------------- next part --------------
--- 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
More information about the wine-patches
mailing list