Aric Stewart : usp10: Correct an off-by-one error in page cache allocation.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 17 16:32:34 CST 2014


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Wed Dec 17 08:48:12 2014 -0600

usp10: Correct an off-by-one error in page cache allocation.

---

 dlls/usp10/usp10_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/usp10/usp10_internal.h b/dlls/usp10/usp10_internal.h
index 504bd55..f10a02d 100644
--- a/dlls/usp10/usp10_internal.h
+++ b/dlls/usp10/usp10_internal.h
@@ -169,7 +169,7 @@ typedef struct {
     OUTLINETEXTMETRICW *otm;
     SCRIPT_FONTPROPERTIES sfp;
     BOOL sfnt;
-    CacheGlyphPage *page[0x10];
+    CacheGlyphPage *page[0x11];
     ABC *widths[GLYPH_MAX / GLYPH_BLOCK_SIZE];
     LPVOID GSUB_Table;
     LPVOID GDEF_Table;




More information about the wine-cvs mailing list