Gerald Pfeifer : winex11.drv: Move a conditionally used label into the condition in X11DRV_XRender_Init.
Alexandre Julliard
julliard at winehq.org
Mon Nov 28 14:00:06 CST 2011
Module: wine
Branch: master
Commit: ef6f8a58c5c8b02e4dc3ed3680770d5f3d4fdf04
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ef6f8a58c5c8b02e4dc3ed3680770d5f3d4fdf04
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Nov 26 23:34:52 2011 +0100
winex11.drv: Move a conditionally used label into the condition in X11DRV_XRender_Init.
---
dlls/winex11.drv/xrender.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c
index f6b19ba..ebbf9fc 100644
--- a/dlls/winex11.drv/xrender.c
+++ b/dlls/winex11.drv/xrender.c
@@ -427,9 +427,10 @@ const struct gdi_dc_funcs *X11DRV_XRender_Init(void)
fontconfig_installed = pFcInit();
}
else TRACE( "cannot find the fontconfig library " SONAME_LIBFONTCONFIG "\n" );
-#endif
sym_not_found:
+#endif
+
glyphsetCache = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
sizeof(*glyphsetCache) * INIT_CACHE_SIZE);
More information about the wine-cvs
mailing list