w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 53005e61a25f68262d61ba0e08ce568288719842
parent ab79bbcf406c6c91beb8d59e1850284ca692d855
Author: ukai <ukai>
Date:   Mon,  6 Jan 2003 15:37:49 +0000

fix indent

Diffstat:
Manchor.c | 2+-
Mnews.c | 12+++++-------
2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/anchor.c b/anchor.c @@ -395,7 +395,7 @@ reAnchorNewsheader(Buffer *buf) header = header_group; } for (l = buf->firstLine; l != NULL && l->real_linenumber == 0; - l = l->next) { + l = l->next) { p = l->lineBuf; if (!IS_SPACE(*p)) { search = FALSE; diff --git a/news.c b/news.c @@ -284,7 +284,7 @@ openNewsStream(ParsedURL *pu) return NULL; p = group; } - else { /* <newsgroup>/<message-id or article-number> */ + else { /* <newsgroup>/<message-id or article-number> */ *p++ = '\0'; news_command(&current_news, Sprintf("GROUP %s", group)->ptr, &status); @@ -294,7 +294,7 @@ openNewsStream(ParsedURL *pu) if (strchr(p, '@')) /* <message-id> */ news_command(&current_news, Sprintf("ARTICLE <%s>", p)->ptr, &status); - else /* <article-number> */ + else /* <article-number> */ news_command(&current_news, Sprintf("ARTICLE %s", p)->ptr, &status); if (status != 220) @@ -338,8 +338,7 @@ readNewsgroup(ParsedURL *pu) qgroup = html_quote(group); group = file_unquote(group); page = Sprintf("<title>Newsgroup: %s</title>\n\ -<h1>Newsgroup:&nbsp;%s</h1>\n<hr>\n", - qgroup, qgroup); +<h1>Newsgroup:&nbsp;%s</h1>\n<hr>\n", qgroup, qgroup); if (SETJMP(AbortLoading) != 0) { news_close(&current_news); @@ -359,7 +358,7 @@ readNewsgroup(ParsedURL *pu) if (list && *list) { if ((p = strchr(list, '-'))) { *p++ = '\0'; - end = atoi(p); + end = atoi(p); } start = atoi(list); if (start > 0) { @@ -376,8 +375,7 @@ readNewsgroup(ParsedURL *pu) start = end - MaxNewsMessage + 1; } page = Sprintf("<title>Newsgroup: %s %d-%d</title>\n\ -<h1>Newsgroup:&nbsp;%s %d-%d</h1>\n<hr>\n", - qgroup, start, end, qgroup, start, end); +<h1>Newsgroup:&nbsp;%s %d-%d</h1>\n<hr>\n", qgroup, start, end, qgroup, start, end); if (start > first) { i = start - MaxNewsMessage; if (i < first)