From 65eec59739ca9cfe875a8787cef673d878e566b6 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sun, 24 Aug 2014 23:43:42 +0200 Subject: Fix android font config In e893f6bd9db696a1d647b796138233152ca290fa ("Use the Windows default font on Windows 7 and 8/8.1") font config was changed, but the android font config wasn't changed. This updates the android font config to match the new way. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- android.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'android.cpp') diff --git a/android.cpp b/android.cpp index 93f26730b..66bc6cf3e 100644 --- a/android.cpp +++ b/android.cpp @@ -11,9 +11,15 @@ extern "C" { -const char system_divelist_default_font[] = "Roboto"; +const char android_system_divelist_default_font[] = "Roboto"; +const char *system_divelist_default_font = android_system_divelist_default_font; const int system_divelist_default_font_size = 8; +void subsurface_OS_pref_setup(void) +{ + // nothing +} + const char *system_default_filename(void) { /* Replace this when QtCore/QStandardPaths getExternalStorageDirectory landed */ -- cgit v1.2.3-70-g09d2