1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-01-21 03:16:14 +01:00

g_strrstr bug related to void country sid fixed.

This commit is contained in:
gyboth 2007-03-24 19:11:39 +00:00
parent f633ade130
commit 26493121bf
2 changed files with 4 additions and 1 deletions

View File

@ -287,7 +287,10 @@ free_country(Country *cntry, gboolean reset)
free_g_ptr_array(&cntry->allcups);
if(reset)
{
cntry->allcups = g_ptr_array_new();
cntry->sid = g_strdup("NONAME");
}
}
/**

View File

@ -174,7 +174,7 @@ main_init_variables(void)
acps = g_ptr_array_new();
country.name = NULL;
country.symbol = NULL;
country.sid = NULL;;
country.sid = g_strdup("NONAME");
season = week = week_round = 1;