Aric Stewart : msctf: Increase buffer to have room for full key.

Alexandre Julliard julliard at winehq.org
Mon Oct 24 13:43:53 CDT 2011


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Fri Oct 21 20:26:40 2011 -0500

msctf: Increase buffer to have room for full key.

---

 dlls/msctf/categorymgr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msctf/categorymgr.c b/dlls/msctf/categorymgr.c
index 7c19c12..a487404 100644
--- a/dlls/msctf/categorymgr.c
+++ b/dlls/msctf/categorymgr.c
@@ -203,7 +203,7 @@ static HRESULT WINAPI CategoryMgr_FindClosestCategory ( ITfCategoryMgr *iface,
 {
     static const WCHAR fmt[] = { '%','s','\\','%','s','\\','C','a','t','e','g','o','r','y','\\','I','t','e','m','\\','%','s',0};
 
-    WCHAR fullkey[110];
+    WCHAR fullkey[120];
     WCHAR buf[39];
     HKEY key;
     HRESULT hr = S_FALSE;




More information about the wine-cvs mailing list