John Darrington <[email protected]> writes: > dict_var_resized exists for one purpose only - it informs the GUI > that the size of a variable has changed. That way, the var sheet > always displays the correct information, even if a variable changes > due to some low level operation (eg: running syntax).
Right. So if the variable doesn't belong to a dictionary, then there's nothing to do. > Solution 2: If that's not possible, then I think it'll be acceptable > to simply test for d == NULL inside dict_var_resized and do > nothing in that situation. > > I'd prefer solution 1 if at all possible. I don't understand why solution 1 is preferable. Why isn't this just a bug in dict_var_resized? I note that, for example, dict_var_changed does test for the null-dictionary case. -- "In this world that Hugh Heffner had made, he alone seemed forever bunnyless." --John D. MacDonald _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
