File Open: Don't try to analyse the file if it's a directory.
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 10 Nov 2011 20:13:32 +0000 (21:13 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 10 Nov 2011 20:13:32 +0000 (21:13 +0100)
commit99732245d610cf363429f1b67a8b2b2e15a9a734
tree6b536cdd5329478137ddba3df5beb7febefe0cfb
parent09648bd73c7511f3c70c941b77f559569edae292
File Open: Don't try to analyse the file if it's a directory.

The File Open dialog box looks at the contents of the selected file
in order to decide whether to set the sensitivity of the encoding
selector.  But if the file was a directory this caused error messages
on windoze. Closes bug #34773
src/data/file-name.c
src/ui/gui/psppire-window.c