fix indent
This commit is contained in:
1 parent
b422f71d84
commit
df0a52887b
3 files changed
+9
-9
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 "fm.h"
|
||||||
#include "myctype.h"
|
#include "myctype.h"
|
||||||
#include "regex.h"
|
#include "regex.h"
|
||||||
@@ -643,8 +643,8 @@ link_list_panel(Buffer *buf)
|
|||||||
for (i = 0; i < al->nanchor; i++) {
|
for (i = 0; i < al->nanchor; i++) {
|
||||||
a = &al->anchors[i];
|
a = &al->anchors[i];
|
||||||
if (a->slave)
|
if (a->slave)
|
||||||
continue;
|
continue;
|
||||||
parseURL2(a->url, &pu, baseURL(buf));
|
parseURL2(a->url, &pu, baseURL(buf));
|
||||||
u = html_quote(parsedURL2Str(&pu)->ptr);
|
u = html_quote(parsedURL2Str(&pu)->ptr);
|
||||||
t = getAnchorText(buf, al, a);
|
t = getAnchorText(buf, al, a);
|
||||||
t = t ? html_quote(t) : "";
|
t = t ? html_quote(t) : "";
|
||||||
@@ -660,8 +660,8 @@ link_list_panel(Buffer *buf)
|
|||||||
for (i = 0; i < al->nanchor; i++) {
|
for (i = 0; i < al->nanchor; i++) {
|
||||||
a = &al->anchors[i];
|
a = &al->anchors[i];
|
||||||
if (a->slave)
|
if (a->slave)
|
||||||
continue;
|
continue;
|
||||||
parseURL2(a->url, &pu, baseURL(buf));
|
parseURL2(a->url, &pu, baseURL(buf));
|
||||||
u = html_quote(parsedURL2Str(&pu)->ptr);
|
u = html_quote(parsedURL2Str(&pu)->ptr);
|
||||||
t = (a->title && *a->title) ? html_quote(a->title) :
|
t = (a->title && *a->title) ? html_quote(a->title) :
|
||||||
html_quote(a->url);
|
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
|
#define MAINPROGRAM
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@@ -4178,7 +4178,7 @@ linkMn(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
anchorMn(Anchor * (*menu_func) (Buffer *), int go)
|
anchorMn(Anchor *(*menu_func) (Buffer *), int go)
|
||||||
{
|
{
|
||||||
Anchor *a;
|
Anchor *a;
|
||||||
BufferPoint *po;
|
BufferPoint *po;
|
||||||
@@ -4230,7 +4230,7 @@ linkLst(void)
|
|||||||
if (buf != NULL) {
|
if (buf != NULL) {
|
||||||
#ifdef JP_CHARSET
|
#ifdef JP_CHARSET
|
||||||
buf->document_code = Currentbuf->document_code;
|
buf->document_code = Currentbuf->document_code;
|
||||||
#endif /* JP_CHARSET */
|
#endif /* JP_CHARSET */
|
||||||
cmd_loadBuffer(buf, BP_NORMAL, LB_NOLINK);
|
cmd_loadBuffer(buf, BP_NORMAL, LB_NOLINK);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user