aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-03-19 08:30:03 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-03-19 08:30:03 +0000
commit8cc88102841c4ee750398a82a93a796a883dd8e5 (patch)
tree6fdff1fe851ae5d5c35993b51f5095d77e60248b /src/main.c
parent7058b44969349cc7e32311228629c6bd8d221510 (diff)
win32: fixed absolute path was not handled correctly with --attach option.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1966 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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);