summaryrefslogtreecommitdiffstats
path: root/generic/tkFont.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-01-05 08:49:47 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-01-05 08:49:47 (GMT)
commitaacf8d739e27f7131d0a7322da993ba8158df5e6 (patch)
treeb53ca9c943b91ed43676acd0f73612577ebae655 /generic/tkFont.c
parenta580567464cda1d5a6116339acc707e451e7854e (diff)
downloadtk-aacf8d739e27f7131d0a7322da993ba8158df5e6.zip
tk-aacf8d739e27f7131d0a7322da993ba8158df5e6.tar.gz
tk-aacf8d739e27f7131d0a7322da993ba8158df5e6.tar.bz2
Corrected rounding of coordinates when working with fonts. [Bug 2824916]
Diffstat (limited to 'generic/tkFont.c')
-rw-r--r--generic/tkFont.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 56018af..54b3afa 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -10,14 +10,12 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkFont.c,v 1.64 2010/01/03 21:21:33 patthoyts Exp $
+ * RCS: @(#) $Id: tkFont.c,v 1.65 2010/01/05 08:49:49 dkf Exp $
*/
#include "tkInt.h"
#include "tkFont.h"
-#define ROUND16(x) ((short)((x) + 0.5))
-
/*
* The following structure is used to keep track of all the fonts that exist
* in the current application. It must be stored in the TkMainInfo for the