[gspell/wip/gspell-init2: 1/2] win32: make the HMODULE static
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell/wip/gspell-init2: 1/2] win32: make the HMODULE static
- Date: Sat, 26 Mar 2016 17:22:04 +0000 (UTC)
commit 6ebbb7e98b7c53b5c8132da368b95fe597e066ed
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Mar 26 18:13:43 2016 +0100
win32: make the HMODULE static
So at least it is initialized to zero, and we are sure there is only one
gspell_dll.
gspell/gspell-init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gspell/gspell-init.c b/gspell/gspell-init.c
index 0631cdb..4fdfa8b 100644
--- a/gspell/gspell-init.c
+++ b/gspell/gspell-init.c
@@ -32,7 +32,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-HMODULE gspell_dll;
+static HMODULE gspell_dll;
#endif /* G_OS_WIN32 */
#ifdef OS_OSX
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]