summaryrefslogtreecommitdiffstats
path: root/linux.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 /linux.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 'linux.c')
-rw-r--r--linux.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/linux.c b/linux.c
index ed063b28c..2e37054a9 100644
--- a/linux.c
+++ b/linux.c
@@ -12,9 +12,15 @@
#include <unistd.h>
#include <pwd.h>
-const char system_divelist_default_font[] = "Sans";
+const char linux_system_divelist_default_font[] = "Sans";
+const char *system_divelist_default_font = linux_system_divelist_default_font;
const int system_divelist_default_font_size = 8;
+void subsurface_OS_pref_setup(void)
+{
+ // nothing
+}
+
void subsurface_user_info(struct user_info *user)
{
struct passwd *pwd = getpwuid(getuid());