aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-07 13:45:26 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-07 13:45:26 +0000
commitd95b257008c82c30ff050f74517753188bd110b6 (patch)
tree9217d1aa58b016b875ea5a983b7bcc3f2c966cac /src/main.c
parentb5e1f4854a199709aee9edc9f25a69a424d0a127 (diff)
check filename encoding only on Unix on startup.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@476 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d40e4a21..12c7b314 100644
--- a/src/main.c
+++ b/src/main.c
@@ -218,6 +218,7 @@ int main(int argc, char *argv[])
/* migration from ~/.sylpheed to ~/.sylpheed-2.0 */
if (!is_dir_exist(RC_DIR)) {
+#ifdef G_OS_UNIX
const gchar *envstr;
AlertValue val;
@@ -241,6 +242,8 @@ int main(int argc, char *argv[])
return 1;
}
}
+#endif /* G_OS_UNIX */
+
if (make_dir(RC_DIR) < 0)
return 1;
if (is_dir_exist(OLD_RC_DIR))