Alex Henrie : winex11.drv: Make several constants static.

Alexandre Julliard julliard at winehq.org
Mon Dec 3 15:28:54 CST 2018


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

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Sun Dec  2 16:07:56 2018 -0700

winex11.drv: Make several constants static.

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

---

 dlls/winex11.drv/wintab.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/winex11.drv/wintab.c b/dlls/winex11.drv/wintab.c
index 7a9a3a7..61730ce 100644
--- a/dlls/winex11.drv/wintab.c
+++ b/dlls/winex11.drv/wintab.c
@@ -485,9 +485,9 @@ static void disable_system_cursors(void)
  */
 BOOL CDECL X11DRV_LoadTabletInfo(HWND hwnddefault)
 {
-    const WCHAR SZ_CONTEXT_NAME[] = {'W','i','n','e',' ','T','a','b','l','e','t',' ','C','o','n','t','e','x','t',0};
-    const WCHAR SZ_DEVICE_NAME[] = {'W','i','n','e',' ','T','a','b','l','e','t',' ','D','e','v','i','c','e',0};
-    const WCHAR SZ_NON_PLUGINPLAY[] = {'n','o','n','-','p','l','u','g','i','n','p','l','a','y',0};
+    static const WCHAR SZ_CONTEXT_NAME[] = {'W','i','n','e',' ','T','a','b','l','e','t',' ','C','o','n','t','e','x','t',0};
+    static const WCHAR SZ_DEVICE_NAME[] = {'W','i','n','e',' ','T','a','b','l','e','t',' ','D','e','v','i','c','e',0};
+    static const WCHAR SZ_NON_PLUGINPLAY[] = {'n','o','n','-','p','l','u','g','i','n','p','l','a','y',0};
 
     struct x11drv_thread_data *data = x11drv_init_thread_data();
     int num_devices;




More information about the wine-cvs mailing list