pr_stringsize hasn't reflected static strings size for a while...

This commit is contained in:
Bill Currie 2004-01-29 08:11:04 +00:00
parent 206a15ef14
commit 2e87490f3b

View file

@ -49,11 +49,11 @@ dump_strings (progs_t *pr)
char *s = pr->pr_strings;
printf ("%d ", 0);
while (i++ < pr->pr_stringsize) {
while (i++ < pr->progs->numstrings) {
switch (*s) {
case 0:
fputs ("\n", stdout);
if (i < pr->pr_stringsize)
if (i < pr->progs->numstrings)
printf ("%d ", i);
break;
case 9: