Sun Dec 26 22:54:57 PST 1999
(Mandrake) Added patch from Yukihiro Nakai <nakai@internetsolutions.co.jp> to add setlocale to dox.c SVN revision: 1758
This commit is contained in:
parent
1c4fbdf0e5
commit
b311ffad5c
|
@ -48,3 +48,11 @@ Sat Jul 10 16:45:42 PDT 1999
|
|||
|
||||
added patch from Christian Kreibich <kreibich@informatik.tu-muenchen.de>
|
||||
to stop the memory leak in dox
|
||||
|
||||
-----------------------------------------------------------------
|
||||
|
||||
Sun Dec 26 22:54:57 PST 1999
|
||||
(Mandrake)
|
||||
|
||||
Added patch from Yukihiro Nakai <nakai@internetsolutions.co.jp>
|
||||
to add setlocale to dox.c
|
||||
|
|
11
dox/dox.c
11
dox/dox.c
|
@ -202,6 +202,17 @@ main(int argc, char **argv)
|
|||
pagenum = 0;
|
||||
|
||||
disp = XOpenDisplay(NULL);
|
||||
|
||||
/* now we'll set the locale */
|
||||
setlocale(LC_ALL, "");
|
||||
if (!XSupportsLocale())
|
||||
setlocale(LC_ALL, "C");
|
||||
XSetLocaleModifiers("");
|
||||
setlocale(LC_ALL, NULL);
|
||||
|
||||
/* I dont want any internationalisation of my numeric input & output */
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
|
||||
params.flags = PARAMS_IMAGECACHESIZE | PARAMS_PIXMAPCACHESIZE;
|
||||
params.imagecachesize = (w * h * 3 * 2);
|
||||
params.pixmapcachesize = (w * h * 3 * 2 * 8);
|
||||
|
|
Loading…
Reference in New Issue