diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2008-03-19 08:30:03 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2008-03-19 08:30:03 +0000 |
commit | 8cc88102841c4ee750398a82a93a796a883dd8e5 (patch) | |
tree | 6fdff1fe851ae5d5c35993b51f5095d77e60248b /src/main.c | |
parent | 7058b44969349cc7e32311228629c6bd8d221510 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |