Commit 66b23b6f 66b23b6fbbee1c5c39aa722d57b4844239746621 by Sergey Poznyakoff

(main): Bugfix.

1 parent b878341a
......@@ -119,7 +119,7 @@ main (int argc, char **argv)
argc -= index;
argv += index;
if (!use_draft && argc > 1)
if (!use_draft && argc > 0)
name = argv[0];
if (!draft_folder)
......