aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);