hhctrl.ocx: Constify some variables

Andrew Talbot andrew.talbot at talbotville.com
Sat Dec 1 16:11:59 CST 2012


Maintaining const after strchr().

---
Changelog:
    hhctrl.ocx: Constify some variables.

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-patches mailing list