diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2004-03-29 17:09:53 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2004-03-29 17:09:53 +0000 |
commit | 14b05069b61d8d86d52415acb1adea7a61547ac6 (patch) | |
tree | c1a5e683b309349d4c261476154897fba6c0578b /shared/common/port.c | |
parent | 6f0f6fb5c0fe8ab2548c84a65fb6d1ee9363e317 (diff) |
toxy alpha10
svn path=/trunk/externals/miXed/; revision=1502
Diffstat (limited to 'shared/common/port.c')
-rw-r--r-- | shared/common/port.c | 6 |
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 |