Dmitry Timoshkov : wineps.drv: Constify a variable.
Alexandre Julliard
julliard at winehq.org
Wed Apr 3 14:33:55 CDT 2013
Module: wine
Branch: master
Commit: 1b55e50e205ba87ae45228bb999ef921f4666900
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1b55e50e205ba87ae45228bb999ef921f4666900
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed Apr 3 16:37:51 2013 +0900
wineps.drv: Constify a variable.
---
dlls/wineps.drv/type1.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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"
More information about the wine-cvs
mailing list