diff options
Diffstat (limited to 'misc/pascal/plink/plsym.c')
-rw-r--r-- | misc/pascal/plink/plsym.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/pascal/plink/plsym.c b/misc/pascal/plink/plsym.c index 3f27f512b..ed3f54d01 100644 --- a/misc/pascal/plink/plsym.c +++ b/misc/pascal/plink/plsym.c @@ -325,8 +325,8 @@ static symContainer_t *insertSymbol(poffLibSymbol_t *sym) } /* We get here if: - * a. curr == NULL meaning that the symbol goes at the end of the - * list. (special case, prev == NULL as well. This happens when + * a. curr == NULL meaning that the symbol goes at the end of the + * list. (special case, prev == NULL as well. This happens when * the list is empty). * b. curr != NULL mean that the symbol goes between prev and curr * (special cases: (i) compare == 0 meaning that the symbol is @@ -406,7 +406,7 @@ static symContainer_t *insertSymbol(poffLibSymbol_t *sym) newsym = makeSymContainer(sym); newsym->next = curr; newsym->prev = prev; - + if (prev) prev->next = newsym; else |