summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-22 15:22:02 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-22 15:56:57 -0700
commite893f6bd9db696a1d647b796138233152ca290fa (patch)
tree32b5fad9d0a958257817fb3d134d53f881ef9127 /macos.c
parent438fe5dbde222c73e22441a6e39c85c8c887218b (diff)
downloadsubsurface-e893f6bd9db696a1d647b796138233152ca290fa.tar.gz
Use the Windows default font on Windows 7 and 8/8.1
It contains the characters we need and will make the application look more "native". See #712 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/macos.c b/macos.c
index b75ddbf6f..c51ef9f7b 100644
--- a/macos.c
+++ b/macos.c
@@ -28,9 +28,15 @@ void subsurface_user_info(struct user_info *info)
#define ICON_NAME "Subsurface.icns"
#define UI_FONT "Arial 12"
-const char system_divelist_default_font[] = "Arial";
+const char mac_system_divelist_default_font[] = "Arial";
+const char *system_divelist_default_font = mac_system_divelist_default_font;
const int system_divelist_default_font_size = 10;
+void subsurface_OS_pref_setup(void)
+{
+ // nothing
+}
+
const char *system_default_filename(void)
{
const char *home, *user;