forked from e16/e16
1
0
Fork 0

groups.c: Mostly cosmetic tweaks

This commit is contained in:
Kim Woelders 2020-05-03 21:05:21 +02:00
parent c2be7e7c14
commit cc7fe7a2fb
1 changed files with 1 additions and 4 deletions

View File

@ -436,10 +436,7 @@ GroupsEwinAdd(EWin * ewin, const int *pgid, int ngid)
void
GroupsEwinRemove(EWin * ewin)
{
int num, i;
num = ewin->num_groups;
for (i = 0; i < num; i++)
while (ewin->num_groups > 0)
_GroupEwinRemove(ewin->groups[0], ewin);
}