120,7 → 120,7 |
for (pos = *startpos; symbol_table[pos].address_le; pos++) { |
const char *curname = symbol_table[pos].symbol_name; |
|
/* Find a ':' in name */ |
/* Find a ':' in curname */ |
const char *colon = str_chr(curname, ':'); |
if (colon == NULL) |
continue; |
225,7 → 225,7 |
|
while ((hint = symtab_search_one(name, &pos))) { |
if ((found == 0) || (str_length(output) > str_length(hint))) |
str_ncpy(output, hint, MAX_SYMBOL_NAME); |
str_cpy(output, MAX_SYMBOL_NAME, hint); |
|
pos++; |
found++; |
241,7 → 241,7 |
} |
|
if (found > 0) |
str_ncpy(input, output, size); |
str_cpy(input, size, output); |
|
return found; |
|