diff --git a/rostests/winetests/usp10/testlist.c b/rostests/winetests/usp10/testlist.c index 99ee3a360ec..c24344ad725 100644 --- a/rostests/winetests/usp10/testlist.c +++ b/rostests/winetests/usp10/testlist.c @@ -1,7 +1,4 @@ -/* Automatically generated by make depend; DO NOT EDIT!! */ - -#define WIN32_LEAN_AND_MEAN -#include +/* Automatically generated; DO NOT EDIT!! */ #define STANDALONE #include diff --git a/rostests/winetests/usp10/usp10.c b/rostests/winetests/usp10/usp10.c index afb7d1a674f..dc8f32496d3 100644 --- a/rostests/winetests/usp10/usp10.c +++ b/rostests/winetests/usp10/usp10.c @@ -840,7 +840,7 @@ static int CALLBACK enumFontProc( const LOGFONTA *lpelfe, const TEXTMETRICA *lpn return 1; i = rp->range; - while (i > sizeof(DWORD)*8) + while (i >= sizeof(DWORD)*8) { idx++; i -= (sizeof(DWORD)*8);