• Jan Djärv's avatar
    Don't crash on bad user input. · f7dfe5d6
    Jan Djärv authored
    * nsfns.m (ns_get_defaults_value): New function.
    (Fns_get_resource, x_get_string_resource): Call ns_get_defaults_value.
    
    * nsterm.h (ns_get_defaults_value): Declare.
    
    * nsterm.m (ns_default): Call ns_get_defaults_value.
    
    Fixes: debbugs:10103
    f7dfe5d6
nsterm.m 201 KB