Fix and simplify the code for converting variables between types
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Jun 2013 10:09:56 +0000 (12:09 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 22 Jun 2013 10:47:37 +0000 (12:47 +0200)
commit35bed3e3e85079641ac18aebc793b99cea819863
tree49a62c2ae4eabf6d05e0607c705ecd40187dba25
parent97cb6edc31abe00d15685a6f8e07dc407a98a7cc
Fix and simplify the code for converting variables between types

Before this commit, changing a variable from string to numeric or
vici-versa would cause all values of that variable to become SYSMIS.
This commit fixes this problem at least partially.

Partial fix for bug #39252
src/ui/gui/psppire-data-store.c