Andrew Talbot : wineps.drv: Declare some variables static const.

Alexandre Julliard julliard at winehq.org
Mon Dec 1 07:34:26 CST 2008


Module: wine
Branch: master
Commit: 6fd73ce645d15d7c2746ad4f42875a4524d43dca
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6fd73ce645d15d7c2746ad4f42875a4524d43dca

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Dec  1 12:52:49 2008 +0000

wineps.drv: Declare some variables static const.

---

 dlls/wineps.drv/type1.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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-cvs mailing list