insertnumber(), emphasize return i + ...

This commit is contained in:
rlar 2016-05-01 17:48:13 +02:00
parent 06501162e5
commit e8bc7df5c3
1 changed files with 1 additions and 1 deletions

View File

@ -1172,7 +1172,7 @@ insertnumber(dico_t *dico, int i, char *s, SPICE_DSTRINGPTR ustr_p)
(snprintf(buf, sizeof(buf), "%-25s", u) == ACT_CHARACTS))
{
memcpy(p, buf, ACT_CHARACTS);
return (int)(p - s) + ACT_CHARACTS;
return i + (int)(p - s - i) + ACT_CHARACTS;
}
message