Simplify last change.

SVN revision: 36063
This commit is contained in:
Kim Woelders 2008-09-17 21:08:19 +00:00
parent a3091d88d6
commit 4c65fb0088
1 changed files with 3 additions and 10 deletions

View File

@ -750,17 +750,10 @@ RenderPage(Window win, int page_num, int w, int h)
continue;
for (j = k; j > 0 && link_link[j] != ')'; j--)
;
link_link[j] = '\0';
strcpy(wd, link_txt);
if (j < k)
{
link_link[j] = '\0';
strcpy(wd, link_txt);
strcat(wd, link_link + j + 1);
}
else
{
link_link[k] = '\0';
strcpy(wd, link_txt);
}
strcat(wd, link_link + j + 1);
islink = 2;
}
else