aboutsummaryrefslogtreecommitdiff
path: root/libsylph/prefs_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/prefs_common.c')
-rw-r--r--libsylph/prefs_common.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 71cc16ff..9b8af6e8 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -343,6 +343,16 @@ void prefs_common_read_config(void)
path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, COMMON_RC, NULL);
prefs_read_config(param, "Common", path, NULL);
+
+#ifdef G_OS_WIN32
+ if (!is_file_exist(path)) {
+ if (conv_is_ja_locale()) {
+ g_free(prefs_common.textfont);
+ prefs_common.textfont = g_strdup("MS Gothic 12");
+ }
+ }
+#endif
+
g_free(path);
prefs_common.online_mode = TRUE;