aboutsummaryrefslogtreecommitdiff
path: root/shared/common
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-03-29 17:09:53 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-03-29 17:09:53 +0000
commit14b05069b61d8d86d52415acb1adea7a61547ac6 (patch)
treec1a5e683b309349d4c261476154897fba6c0578b /shared/common
parent6f0f6fb5c0fe8ab2548c84a65fb6d1ee9363e317 (diff)
toxy alpha10
svn path=/trunk/externals/miXed/; revision=1502
Diffstat (limited to 'shared/common')
-rw-r--r--shared/common/port.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/common/port.c b/shared/common/port.c
index fa81bc0..26f24ca 100644
--- a/shared/common/port.c
+++ b/shared/common/port.c
@@ -35,7 +35,13 @@ enum { PORT_OK,
PORT_NEXT, /* next line, please */
PORT_UNKNOWN, PORT_CORRUPT, PORT_FATAL };
+/* without access to sys_defaultfont, we just mimic defs from s_main.c */
+#ifdef MSW
+#define PORT_DEFFONTSIZE 12.
+#else
#define PORT_DEFFONTSIZE 10.
+#endif
+
#define PORT_XSTRETCH 1.25
#define PORT_YSTRETCH 1.1
#define PORT_WSTRETCH 1.25