aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/main.c2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 83151c05..5d80565e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-19
+
+ * src/main.c: parse_cmd_opt(): win32: fixed absolute path was not
+ handled correctly.
+
2008-03-13
* src/addr_compl.c: get_completion_address(): added characters to be
diff --git a/ChangeLog.ja b/ChangeLog.ja
index d90d9bd1..1edee531 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2008-03-19
+
+ * src/main.c: parse_cmd_opt(): win32: 絶対パスが正しく扱われて
+ いなかったバグを修正。
+
2008-03-13
* src/addr_compl.c: get_completion_address(): 引用すべき文字を追加。
diff --git a/src/main.c b/src/main.c
index c0c35350..a5cc215b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -434,7 +434,7 @@ static void parse_cmd_opt(int argc, char *argv[])
while (p && *p != '\0' && *p != '-') {
if (!cmd.attach_files)
cmd.attach_files = g_ptr_array_new();
- if (*p != G_DIR_SEPARATOR)
+ if (!g_path_is_absolute(p))
file = g_strconcat(get_startup_dir(),
G_DIR_SEPARATOR_S,
p, NULL);