fix indent

This commit is contained in:
Fumitoshi UKAI committed 2002-11-27 16:40:19 +00:00
1 parent 7b5f6ea99c
commit f2ed984ae1
2 files changed
+7 -8

No files matched your search

+4 -4
View File
@@ -1,4 +1,4 @@
/* $Id: etc.c,v 1.41 2002/11/27 16:39:17 ukai Exp $ */ /* $Id: etc.c,v 1.42 2002/11/27 16:40:19 ukai Exp $ */
#include "fm.h" #include "fm.h"
#include <pwd.h> #include <pwd.h>
#include "myctype.h" #include "myctype.h"
@@ -781,9 +781,9 @@ read_token(Str buf, char **instr, int *status, int pre, int append)
} }
if (*status == R_ST_TAG0 && !REALLY_THE_BEGINNING_OF_A_TAG(p)) { if (*status == R_ST_TAG0 && !REALLY_THE_BEGINNING_OF_A_TAG(p)) {
/* it seems that this '<' is not a beginning of a tag */ /* it seems that this '<' is not a beginning of a tag */
/* /*
Strcat_charp(buf, "&lt;"); * Strcat_charp(buf, "&lt;");
*/ */
Strcat_char(buf, '<'); Strcat_char(buf, '<');
*status = R_ST_NORMAL; *status = R_ST_NORMAL;
} }
+3 -4
View File
@@ -1,4 +1,4 @@
/* $Id: file.c,v 1.133 2002/11/27 16:39:18 ukai Exp $ */ /* $Id: file.c,v 1.134 2002/11/27 16:40:22 ukai Exp $ */
#include "fm.h" #include "fm.h"
#include <sys/types.h> #include <sys/types.h>
#include "myctype.h" #include "myctype.h"
@@ -5447,8 +5447,7 @@ HTMLlineproc0(char *str, struct html_feed_environ *h_env, int internal)
while (*str != '\0') { while (*str != '\0') {
int is_tag = FALSE; int is_tag = FALSE;
int pre_mode = (obuf->table_level >= 0) ? int pre_mode = (obuf->table_level >= 0) ?
tbl_mode->pre_mode & TBLM_PLAIN : tbl_mode->pre_mode & TBLM_PLAIN : obuf->flag & RB_PLAINMODE;
obuf->flag & RB_PLAINMODE;
if (obuf->flag & RB_PLAIN) if (obuf->flag & RB_PLAIN)
goto read_as_plain; /* don't process tag */ goto read_as_plain; /* don't process tag */
@@ -5519,7 +5518,7 @@ HTMLlineproc0(char *str, struct html_feed_environ *h_env, int internal)
q = h_env->tagbuf->ptr; q = h_env->tagbuf->ptr;
} }
read_as_pre_mode: read_as_pre_mode:
if (obuf->flag & (RB_INTXTA | RB_INSELECT | RB_IGNORE)) { if (obuf->flag & (RB_INTXTA | RB_INSELECT | RB_IGNORE)) {
cmd = HTML_UNKNOWN; cmd = HTML_UNKNOWN;
if (!is_tag) { if (!is_tag) {