From a44595abda486e1cfecda3eb75ba34b62cf15915 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 23 Apr 2014 15:03:45 +0000 Subject: [PATCH] [USP10_WINETEST] * Sync with Wine 1.7.17. CORE-8080 svn path=/trunk/; revision=62927 --- rostests/winetests/usp10/testlist.c | 5 +---- rostests/winetests/usp10/usp10.c | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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); -- 2.17.1