Ticket #679: country.diff

File country.diff, 453 bytes (added by tryagain, 11 years ago)

Patch to solve above problem.

  • gui_internal.c

     
    35733573        slc=search_list_select(this->sl, attr_country_all, widget->selection_id, 1);
    35743574        if (slc) {
    35753575                g_free(this->country_iso2);
    3576                 this->country_iso2=((struct search_list_country *)slc)->iso2;
     3576                this->country_iso2=g_strdup(((struct search_list_country *)slc)->iso2);
    35773577        }
    35783578        gui_internal_search(this,widget->name,"Town",0);
    35793579}