wineps.drv: Constify a variable.

Dmitry Timoshkov dmitry at baikal.ru
Wed Apr 3 02:37:51 CDT 2013


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

diff --git a/dlls/wineps.drv/type1.c b/dlls/wineps.drv/type1.c
index 6855019..316bece 100644
--- a/dlls/wineps.drv/type1.c
+++ b/dlls/wineps.drv/type1.c
@@ -75,7 +75,7 @@ TYPE1 *T1_download_header(PHYSDEV dev, char *ps_name, RECT *bbox, UINT emsize)
     char *buf;
     TYPE1 *t1;
 
-    char dict[] = /* name, emsquare, fontbbox */
+    static const char dict[] = /* name, emsquare, fontbbox */
       "25 dict begin\n"
       " /FontName /%s def\n"
       " /Encoding 256 array 0 1 255{1 index exch /.notdef put} for def\n"
-- 
1.8.2




More information about the wine-patches mailing list