1
1
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:
gyboth 2009-01-04 08:54:54 +00:00
parent 66a96583cf
commit e3f2897bc4

View File

@ -531,10 +531,9 @@ 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)
{ {