Andrew Talbot : hhctrl.ocx: Constify some variables.

Alexandre Julliard julliard at winehq.org
Mon Dec 3 13:33:56 CST 2012


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Dec  1 22:11:59 2012 +0000

hhctrl.ocx: Constify some variables.

---

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

diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c
index f6155c7..5c922b3 100644
--- a/dlls/hhctrl.ocx/help.c
+++ b/dlls/hhctrl.ocx/help.c
@@ -1895,8 +1895,8 @@ static char find_html_symbol(const char *entity, int entity_len)
  */
 WCHAR *decode_html(const char *html_fragment, int html_fragment_len, UINT code_page)
 {
-    const char *h = html_fragment;
-    char *amp, *sem, symbol, *tmp;
+    const char *h = html_fragment, *amp, *sem;
+    char symbol, *tmp;
     int len, tmp_len = 0;
     WCHAR *unicode_text;
 




More information about the wine-cvs mailing list