SVN revision: 15319
This commit is contained in:
Carsten Haitzler 2005-06-14 10:58:45 +00:00
parent 3bbd1c65c6
commit 23bf6f35da
1 changed files with 3 additions and 0 deletions

View File

@ -422,8 +422,11 @@ static void
_e_winlist_activate_nth(int n)
{
Evas_List *l;
int cnt;
_e_winlist_deactivate();
cnt = evas_list_count(wins);
if (n >= cnt) n = cnt - 1;
l = evas_list_nth_list(wins, n);
if (l)
{