aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/fontfile/fontdir.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-11 19:27:48 +0000
committermarha <marha@users.sourceforge.net>2009-10-11 19:27:48 +0000
commitd36223b06a859c5979253d0176adfaeadc10cb32 (patch)
treede85a6072aae048506ebab0dba2e7c4588132412 /libXfont/src/fontfile/fontdir.c
parent6b4cfac5a67f87884a525ce2c99f30e0060b3ca7 (diff)
parente4bc1b2bff00254f5782928d5b7b15b4db2e774c (diff)
downloadvcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.tar.gz
vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.tar.bz2
vcxsrv-d36223b06a859c5979253d0176adfaeadc10cb32.zip
svn merge ^/branches/released .
Diffstat (limited to 'libXfont/src/fontfile/fontdir.c')
-rw-r--r--libXfont/src/fontfile/fontdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libXfont/src/fontfile/fontdir.c b/libXfont/src/fontfile/fontdir.c
index 1a797823d..b820c50b2 100644
--- a/libXfont/src/fontfile/fontdir.c
+++ b/libXfont/src/fontfile/fontdir.c
@@ -747,10 +747,11 @@ FontFileAddFontFile (FontDirectoryPtr dir, char *fontName, char *fileName)
{
FontResolutionPtr resolution;
int num;
+ int default_point_size = GetDefaultPointSize();
extra->defaults.point_matrix[0] =
extra->defaults.point_matrix[3] =
- (double)GetDefaultPointSize() / 10.0;
+ (double)default_point_size / 10.0;
extra->defaults.point_matrix[1] =
extra->defaults.point_matrix[2] = 0.0;
extra->defaults.values_supplied =