mirror of
https://github.com/tstellar/bygfoot.git
synced 2024-12-17 02:39:14 +01:00
Table highlighting bug fixed.
This commit is contained in:
parent
66a96583cf
commit
e3f2897bc4
@ -531,12 +531,11 @@ treeview_helper_get_table_element_colour_cups(const League *league, gint table_i
|
|||||||
{
|
{
|
||||||
cup_round = &g_array_index(cp(i).rounds, CupRound, k);
|
cup_round = &g_array_index(cp(i).rounds, CupRound, k);
|
||||||
for(j=0;j<cup_round->choose_teams->len;j++)
|
for(j=0;j<cup_round->choose_teams->len;j++)
|
||||||
if((strcmp(g_array_index(cup_round->choose_teams,
|
if((strcmp(g_array_index(cup_round->choose_teams, CupChooseTeam, j).sid, buf) == 0 ||
|
||||||
CupChooseTeam, j).sid, buf) == 0 ||
|
(strcmp(g_array_index(cup_round->choose_teams, CupChooseTeam, j).sid, league->sid) == 0 &&
|
||||||
strcmp(g_array_index(cup_round->choose_teams,
|
!g_array_index(cup_round->choose_teams, CupChooseTeam, j).generate)) &&
|
||||||
CupChooseTeam, j).sid, league->sid) == 0) &&
|
g_array_index(cup_round->choose_teams,
|
||||||
g_array_index(cup_round->choose_teams,
|
CupChooseTeam, j).from_table == table_index)
|
||||||
CupChooseTeam, j).from_table == table_index)
|
|
||||||
{
|
{
|
||||||
if((idx + 1 >= g_array_index(cup_round->choose_teams,
|
if((idx + 1 >= g_array_index(cup_round->choose_teams,
|
||||||
CupChooseTeam, j).start_idx &&
|
CupChooseTeam, j).start_idx &&
|
||||||
|
Loading…
Reference in New Issue
Block a user