From 897a184f5a5a4ed7150217da41c0d34f7512f4c1 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Fri, 22 Aug 2003 01:55:36 +0000 Subject: [PATCH] C89 compatibility svn path=/trunk/; revision=5736 --- reactos/lib/user32/windows/draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/lib/user32/windows/draw.c b/reactos/lib/user32/windows/draw.c index 9301e94388f..759b5268e92 100644 --- a/reactos/lib/user32/windows/draw.c +++ b/reactos/lib/user32/windows/draw.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: draw.c,v 1.26 2003/08/20 03:07:33 silverblade Exp $ +/* $Id: draw.c,v 1.27 2003/08/22 01:55:36 royce Exp $ * * PROJECT: ReactOS user32.dll * FILE: lib/user32/windows/input.c @@ -1845,10 +1845,10 @@ WINBOOL INTERNAL_DrawState( case DST_TEXT : case DST_PREFIXTEXT : { - DbgPrint("Calculating rect of DST_TEXT / DST_PREFIXTEXT\n"); - BOOL success; + DbgPrint("Calculating rect of DST_TEXT / DST_PREFIXTEXT\n"); + if (unicode) success = GetTextExtentPoint32W(hdc, (LPWSTR) lData, len, &s); else