Nikolay Sivov : dwrite: Make sure explicit levels are always initialized ( Valgrind).
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jul 14 09:42:26 CDT 2015
Module: wine
Branch: master
Commit: 0b64f24030531f5f56115c77d4da273bd365fb24
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0b64f24030531f5f56115c77d4da273bd365fb24
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Jul 14 10:55:23 2015 +0300
dwrite: Make sure explicit levels are always initialized (Valgrind).
---
dlls/dwrite/bidi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/dwrite/bidi.c b/dlls/dwrite/bidi.c
index 69eae5a..273d100 100644
--- a/dlls/dwrite/bidi.c
+++ b/dlls/dwrite/bidi.c
@@ -445,8 +445,9 @@ static void bidi_resolve_explicit(UINT8 baselevel, UINT8 *classes, UINT8 *levels
pop_stack();
break;
- /* X8: Nothing */
+ /* X8 */
default:
+ levels[i] = baselevel;
break;
}
}
More information about the wine-cvs
mailing list