Huw Davies : gdi32: Fixed a misplaced break.

Alexandre Julliard julliard at winehq.org
Fri Oct 5 04:55:55 CDT 2007


Module: wine
Branch: master
Commit: 36db3630ec1d0d85dce34e1cd7913132acf4df46
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=36db3630ec1d0d85dce34e1cd7913132acf4df46

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Oct  4 12:22:37 2007 +0100

gdi32: Fixed a misplaced break.

---

 dlls/gdi32/freetype.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 62563e8..495db78 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -3768,10 +3768,9 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format,
                 mult = 64;
             else if(format == WINE_GGO_GRAY16_BITMAP)
                 return needed;
-            else {
+            else
                 assert(0);
-                break;
-            }
+            break;
           }
         default:
             FIXME("loaded glyph format %x\n", ft_face->glyph->format);




More information about the wine-cvs mailing list