From 8cc88102841c4ee750398a82a93a796a883dd8e5 Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 19 Mar 2008 08:30:03 +0000 Subject: 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 --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3