Revision 1966 src/main.c

main.c (revision 1966)
434 434
			while (p && *p != '\0' && *p != '-') {
435 435
				if (!cmd.attach_files)
436 436
					cmd.attach_files = g_ptr_array_new();
437
				if (*p != G_DIR_SEPARATOR)
437
				if (!g_path_is_absolute(p))
438 438
					file = g_strconcat(get_startup_dir(),
439 439
							   G_DIR_SEPARATOR_S,
440 440
							   p, NULL);

Also available in: Unified diff