Alex Henrie : wineps.drv: Make constant 'glyph_def' static.

Alexandre Julliard julliard at winehq.org
Mon Dec 10 15:46:03 CST 2018


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

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Mon Dec  3 21:43:02 2018 -0700

wineps.drv: Make constant 'glyph_def' static.

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

---

 dlls/wineps.drv/type42.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wineps.drv/type42.c b/dlls/wineps.drv/type42.c
index c808ddb..451cceb 100644
--- a/dlls/wineps.drv/type42.c
+++ b/dlls/wineps.drv/type42.c
@@ -291,7 +291,7 @@ BOOL T42_download_glyph(PHYSDEV dev, DOWNLOAD *pdl, DWORD index,
     char *buf;
     TYPE42 *t42;
 
-    const char glyph_def[] = 
+    static const char glyph_def[] =
       "/%s findfont exch 1 index\n"
       "havetype42gdir\n"
       "{/GlyphDirectory get begin %d exch def end}\n"




More information about the wine-cvs mailing list