From 3dfed354ed8e73ca40868cc46aa153a0cfcb646b Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 14 Jun 2016 11:12:44 -0400 Subject: things Change-Id: I07e78d46d1d9bcb77a33c066949e76342fde6882 --- apps/plugins/wikiviewer/wikiviewer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins/wikiviewer') diff --git a/apps/plugins/wikiviewer/wikiviewer.c b/apps/plugins/wikiviewer/wikiviewer.c index a17c1a4..4587e70 100644 --- a/apps/plugins/wikiviewer/wikiviewer.c +++ b/apps/plugins/wikiviewer/wikiviewer.c @@ -308,8 +308,8 @@ static int record_linebreak=0; /*flag for line break in recorded line*/ static void viewer_exit(void *parameter); static struct linestate render(struct linestate cur, int norender, int linktonote); -static void readlink(struct linestate cur, int link, char * namebuf, - int buflen); +static void readlink_wiki(struct linestate cur, int link, char * namebuf, + int buflen); static void viewer_exit(void *parameter) { @@ -984,7 +984,7 @@ static struct linestate render(struct linestate cur, int norender, return ((nextline.renderoff==-1) ? cur : nextline); } -static void readlink(struct linestate cur, int link, char * namebuf, int buflen) +static void readlink_wiki(struct linestate cur, int link, char * namebuf, int buflen) { int linkcount=0; @@ -1640,7 +1640,7 @@ loadnewarticle: case MODE_LINK: /* load a new article */ advance_history(1); - readlink(curlinestate,linkno,hist[curhist].name,ARTICLENAMEBUF_LENGTH); + readlink_wiki(curlinestate,linkno,hist[curhist].name,ARTICLENAMEBUF_LENGTH); if ((target=rb->strrchr(hist[curhist].name,'#'))) { /* cut the target name off the end of the string */ -- cgit v1.1