Rob Shearman : hhctrl.ocx: Nul-terminate url_indicator constant in NavigateToUrl.

Alexandre Julliard julliard at winehq.org
Mon Aug 18 10:47:26 CDT 2008


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

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Sun Aug 17 18:33:01 2008 +0100

hhctrl.ocx: Nul-terminate url_indicator constant in NavigateToUrl.

---

 dlls/hhctrl.ocx/help.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c
index 0e81a99..6a694a9 100644
--- a/dlls/hhctrl.ocx/help.c
+++ b/dlls/hhctrl.ocx/help.c
@@ -89,7 +89,7 @@ BOOL NavigateToUrl(HHInfo *info, LPCWSTR surl)
     BOOL ret;
     HRESULT hres;
 
-    static const WCHAR url_indicator[] = {':', '/', '/'};
+    static const WCHAR url_indicator[] = {':', '/', '/', 0};
 
     TRACE("%s\n", debugstr_w(surl));
 




More information about the wine-cvs mailing list