Hi all,
Doing something like:
geany /tmp
on the command line geany will open with a empty file named "/tmp" which cannot be saved because there is a directory /tmp already.
The attached patch just ignores all filenames passed on the command line which are directories.
Cheers, Erik