tag.c
changeset 925 10df275327ce
parent 924 5b1caaa31aba
child 926 6f9cf0cfe278
equal deleted inserted replaced
924:5b1caaa31aba 925:10df275327ce
   104 	int i, j;
   104 	int i, j;
   105 
   105 
   106 	for(i = 0; !seltag[i]; i++);
   106 	for(i = 0; !seltag[i]; i++);
   107 	for(j = i + 1; j < ntags && !seltag[j]; j++);
   107 	for(j = i + 1; j < ntags && !seltag[j]; j++);
   108 	if(j < ntags)
   108 	if(j < ntags)
   109 		return; /* more then one tag selected */
   109 		return; /* more than one tag selected */
   110 	seltag[i] = False;
   110 	seltag[i] = False;
   111 	i += arg ? atoi(arg) : 0;
   111 	i += arg ? atoi(arg) : 0;
   112 	if(i < 0)
   112 	if(i < 0)
   113 		i = ntags - 1;
   113 		i = ntags - 1;
   114 	else if(i >= ntags)
   114 	else if(i >= ntags)