mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-31 07:54:50 +01:00
g_strrstr bug related to void country sid fixed.
This commit is contained in:
parent
d1447362cb
commit
6b6f064129
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user