Alex Henrie : hhctrl.ocx: Make constant 'szHTMext' static.

Alexandre Julliard julliard at winehq.org
Fri Nov 30 14:34:41 CST 2018


Module: wine
Branch: master
Commit: 634637c05766fdec049997c7363f25a22a42caeb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=634637c05766fdec049997c7363f25a22a42caeb

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Fri Nov 30 00:14:05 2018 -0700

hhctrl.ocx: Make constant 'szHTMext' static.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/hhctrl.ocx/search.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/hhctrl.ocx/search.c b/dlls/hhctrl.ocx/search.c
index d758a1b..0e198b8 100644
--- a/dlls/hhctrl.ocx/search.c
+++ b/dlls/hhctrl.ocx/search.c
@@ -152,7 +152,7 @@ cleanup:
 static SearchItem *SearchCHM_Storage(SearchItem *item, IStorage *pStorage,
                                      const char *needle)
 {
-    const WCHAR szHTMext[] = {'.','h','t','m',0};
+    static const WCHAR szHTMext[] = {'.','h','t','m',0};
     IEnumSTATSTG *elem = NULL;
     WCHAR *filename = NULL;
     STATSTG entries;




More information about the wine-cvs mailing list