psppire-data-store: Don't try to parse strings as custom currency formats.
commite371c5d3ef0199fa913884cb6847a361c37e0e80
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 28 Sep 2013 23:26:08 +0000 (28 16:26 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 28 Sep 2013 23:26:08 +0000 (28 16:26 -0700)
tree92df3c3896c2056a36948f1373946e9700e0f564
parent61bf4a044aafdca09f4b2c363b6636d44e93d215
psppire-data-store: Don't try to parse strings as custom currency formats.

Custom currency formats are not usable for input, only for output, but this
code tried to use them for input if the format was changed to a custom
currency format in the GUI.  This commit fixes the problem by using a
DOLLAR format, instead, for parsing.

Reported by Bastián Díaz <diaz.bastian@ymail.com>.
src/ui/gui/psppire-data-store.c