symset restrictions (trunk only)
The restricted bits could end up set on non-restricted sets. This case needs to check that we're in a matching set.
This commit is contained in:
+8
-6
@@ -2625,9 +2625,10 @@ int which_set;
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 5: /* restrictions: xxxx*/
|
case 5: /* restrictions: xxxx*/
|
||||||
i = 0;
|
if (chosen_symset_start) {
|
||||||
while (known_restrictions[i]) {
|
i = 0;
|
||||||
if (!strcmpi(known_restrictions[i], bufp)) {
|
while (known_restrictions[i]) {
|
||||||
|
if (!strcmpi(known_restrictions[i], bufp)) {
|
||||||
switch(i) {
|
switch(i) {
|
||||||
case 0: symset[which_set].primary = 1;
|
case 0: symset[which_set].primary = 1;
|
||||||
break;
|
break;
|
||||||
@@ -2635,9 +2636,10 @@ int which_set;
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break; /* while loop */
|
break; /* while loop */
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else { /* !SYM_CONTROL */
|
} else { /* !SYM_CONTROL */
|
||||||
|
|||||||
Reference in New Issue
Block a user