gui: Refactor checking for .sav and .por suffixes.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 12 May 2011 05:38:57 +0000 (22:38 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 12 May 2011 05:38:57 +0000 (22:38 -0700)
commitb6ff9071cb7359e7d6b06ee01064116117876c16
treebbe09cf5fc600ce309c16a5894f6eedcab4cb87b
parent21563eaa0213cd007c660324f0364327d362cd78
gui: Refactor checking for .sav and .por suffixes.

It seems reasonable to allow, e.g., .Sav as well as .SAV and .sav, so
this does that.  It also splits name_has_suffix() into smaller
pieces that will individually be used in an upcoming commit.
src/ui/gui/psppire-data-window.c