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:
parent
f633ade130
commit
26493121bf
@ -287,7 +287,10 @@ free_country(Country *cntry, gboolean reset)
|
|||||||
free_g_ptr_array(&cntry->allcups);
|
free_g_ptr_array(&cntry->allcups);
|
||||||
|
|
||||||
if(reset)
|
if(reset)
|
||||||
|
{
|
||||||
cntry->allcups = g_ptr_array_new();
|
cntry->allcups = g_ptr_array_new();
|
||||||
|
cntry->sid = g_strdup("NONAME");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -174,7 +174,7 @@ main_init_variables(void)
|
|||||||
acps = g_ptr_array_new();
|
acps = g_ptr_array_new();
|
||||||
country.name = NULL;
|
country.name = NULL;
|
||||||
country.symbol = NULL;
|
country.symbol = NULL;
|
||||||
country.sid = NULL;;
|
country.sid = g_strdup("NONAME");
|
||||||
|
|
||||||
season = week = week_round = 1;
|
season = week = week_round = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user