wineps.drv: Declare some variables static const

Andrew Talbot andrew.talbot at talbotville.com
Mon Dec 1 06:52:49 CST 2008


Changelog:
    wineps.drv: Declare some variables static const.

diff --git a/dlls/wineps.drv/type1.c b/dlls/wineps.drv/type1.c
index 9fe3b39..fe8c8ba 100644
--- a/dlls/wineps.drv/type1.c
+++ b/dlls/wineps.drv/type1.c
@@ -193,12 +193,12 @@ BOOL T1_download_glyph(PSDRV_PDEVICE *physDev, DOWNLOAD *pdl, DWORD index,
     LOGFONTW lf;
     RECT rc;
 
-    char glyph_def_begin[] =
+    static const char glyph_def_begin[] =
       "/%s findfont dup\n"
       "/Private get begin\n"
       "/CharStrings get begin\n"
       "/%s %d RD\n";
-    char glyph_def_end[] =
+    static const char glyph_def_end[] =
       "ND\n"
       "end end\n";
 



More information about the wine-patches mailing list