fix indent
This commit is contained in:
1 parent
b422f71d84
commit
df0a52887b
3 files changed
+10
-10
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/* $Id: anchor.c,v 1.13 2002/12/09 15:51:08 ukai Exp $ */
|
||||
/* $Id: anchor.c,v 1.14 2002/12/10 15:36:10 ukai Exp $ */
|
||||
#include "fm.h"
|
||||
#include "myctype.h"
|
||||
#include "regex.h"
|
||||
@@ -643,8 +643,8 @@ link_list_panel(Buffer *buf)
|
||||
for (i = 0; i < al->nanchor; i++) {
|
||||
a = &al->anchors[i];
|
||||
if (a->slave)
|
||||
continue;
|
||||
parseURL2(a->url, &pu, baseURL(buf));
|
||||
continue;
|
||||
parseURL2(a->url, &pu, baseURL(buf));
|
||||
u = html_quote(parsedURL2Str(&pu)->ptr);
|
||||
t = getAnchorText(buf, al, a);
|
||||
t = t ? html_quote(t) : "";
|
||||
@@ -660,8 +660,8 @@ link_list_panel(Buffer *buf)
|
||||
for (i = 0; i < al->nanchor; i++) {
|
||||
a = &al->anchors[i];
|
||||
if (a->slave)
|
||||
continue;
|
||||
parseURL2(a->url, &pu, baseURL(buf));
|
||||
continue;
|
||||
parseURL2(a->url, &pu, baseURL(buf));
|
||||
u = html_quote(parsedURL2Str(&pu)->ptr);
|
||||
t = (a->title && *a->title) ? html_quote(a->title) :
|
||||
html_quote(a->url);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: main.c,v 1.163 2002/12/09 15:51:09 ukai Exp $ */
|
||||
/* $Id: main.c,v 1.164 2002/12/10 15:36:11 ukai Exp $ */
|
||||
#define MAINPROGRAM
|
||||
#include "fm.h"
|
||||
#include <signal.h>
|
||||
@@ -4178,7 +4178,7 @@ linkMn(void)
|
||||
}
|
||||
|
||||
static void
|
||||
anchorMn(Anchor * (*menu_func) (Buffer *), int go)
|
||||
anchorMn(Anchor *(*menu_func) (Buffer *), int go)
|
||||
{
|
||||
Anchor *a;
|
||||
BufferPoint *po;
|
||||
@@ -4230,7 +4230,7 @@ linkLst(void)
|
||||
if (buf != NULL) {
|
||||
#ifdef JP_CHARSET
|
||||
buf->document_code = Currentbuf->document_code;
|
||||
#endif /* JP_CHARSET */
|
||||
#endif /* JP_CHARSET */
|
||||
cmd_loadBuffer(buf, BP_NORMAL, LB_NOLINK);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: menu.c,v 1.27 2002/12/09 15:51:09 ukai Exp $ */
|
||||
/* $Id: menu.c,v 1.28 2002/12/10 15:36:11 ukai Exp $ */
|
||||
/*
|
||||
* w3m menu.c
|
||||
*/
|
||||
@@ -2009,7 +2009,7 @@ list_menu(Buffer *buf)
|
||||
else if (two)
|
||||
label[n] = Sprintf("%c%c: %s", lmKeys2[n / nlmKeys],
|
||||
lmKeys[n % nlmKeys], t)->ptr;
|
||||
else
|
||||
else
|
||||
label[n] = Sprintf("%c: %s", lmKeys[n], t)->ptr;
|
||||
ap[n] = a;
|
||||
n++;
|
||||
|
||||
Reference in new issue
Block a user