aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog1
-rw-r--r--ChangeLog.ja1
-rw-r--r--src/main.c3
3 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 457f57a3..466106fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2005-08-07
* src/defs.h: modification for Win32.
+ * src/main.c: check filename encoding only on Unix.
2005-08-07
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 7c2cefe1..69353b6d 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,6 +1,7 @@
2005-08-07
* src/defs.h: modification for Win32.
+ * src/main.c: check filename encoding only on Unix.
2005-08-07
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))