[PATCH] wineps.drv: Make constant 'glyph_def' static

Alex Henrie alexhenrie24 at gmail.com
Mon Dec 3 22:43:02 CST 2018


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 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 c808ddbde4..451cceb756 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"
-- 
2.19.2




More information about the wine-devel mailing list