[PATCH] hhctrl.ocx: Make constant 'szHTMext' static
Alex Henrie
alexhenrie24 at gmail.com
Fri Nov 30 01:14:05 CST 2018
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
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 d758a1b30f..0e198b8736 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;
--
2.19.2
More information about the wine-devel
mailing list