aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-22 15:57:29 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-22 15:57:29 +0000
commite3c33e02e6ce22c083024c0c5a6bb6bb59b257ae (patch)
treef58660004e9f553e89f774ee991e6357e413916c
parent[w3m-dev 03464] Re: case insensitive regexp search (diff)
downloadw3m-e3c33e02e6ce22c083024c0c5a6bb6bb59b257ae.tar.gz
w3m-e3c33e02e6ce22c083024c0c5a6bb6bb59b257ae.zip
fix indent
-rw-r--r--etc.c4
-rw-r--r--file.c10
-rw-r--r--func.c4
-rw-r--r--regex.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/etc.c b/etc.c
index 2484bc9..8f4f39d 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.38 2002/11/22 15:49:43 ukai Exp $ */
+/* $Id: etc.c,v 1.39 2002/11/22 15:57:29 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -1325,7 +1325,7 @@ mySystem(char *command, int background)
system(cmd->ptr);
#else
flush_tty();
- if (! fork())
+ if (!fork())
myExec(command);
#endif
}
diff --git a/file.c b/file.c
index 40bf843..bf18520 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.124 2002/11/22 15:49:43 ukai Exp $ */
+/* $Id: file.c,v 1.125 2002/11/22 15:57:29 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -7107,10 +7107,10 @@ doExternal(URLFile uf, char *path, char *type, Buffer **bufp,
pushText(fileToDelete, tmpf->ptr);
#ifdef HAVE_SETPGRP
- if (! (mcap->flags & (MAILCAP_HTMLOUTPUT | MAILCAP_COPIOUSOUTPUT)) &&
- ! (mcap->flags & MAILCAP_NEEDSTERMINAL) && BackgroundExtViewer) {
+ if (!(mcap->flags & (MAILCAP_HTMLOUTPUT | MAILCAP_COPIOUSOUTPUT)) &&
+ !(mcap->flags & MAILCAP_NEEDSTERMINAL) && BackgroundExtViewer) {
flush_tty();
- if (! fork()) {
+ if (!fork()) {
reset_signals();
signal(SIGINT, SIG_IGN);
close_tty();
@@ -7127,7 +7127,7 @@ doExternal(URLFile uf, char *path, char *type, Buffer **bufp,
#endif
{
if (save2tmp(uf, tmpf->ptr) < 0)
- return 0; /* ??? */
+ return 0; /* ??? */
}
if (mcap->flags & (MAILCAP_HTMLOUTPUT | MAILCAP_COPIOUSOUTPUT)) {
if (defaultbuf == NULL)
diff --git a/func.c b/func.c
index 9c1e95e..90fc682 100644
--- a/func.c
+++ b/func.c
@@ -1,4 +1,4 @@
-/* $Id: func.c,v 1.13 2002/11/22 15:43:14 ukai Exp $ */
+/* $Id: func.c,v 1.14 2002/11/22 15:57:29 ukai Exp $ */
/*
* w3m func.c
*/
@@ -364,7 +364,7 @@ initMouseMenu(void)
}
if (!mouse_menu)
continue; /* "menu" is not set */
- if (strcmp(s, "button"))
+ if (strcmp(s, "button"))
continue; /* error */
s = getWord(&p);
b = atoi(s);
diff --git a/regex.c b/regex.c
index dd1042d..3b04ceb 100644
--- a/regex.c
+++ b/regex.c
@@ -1,4 +1,4 @@
-/* $Id: regex.c,v 1.17 2002/11/22 15:56:43 ukai Exp $ */
+/* $Id: regex.c,v 1.18 2002/11/22 15:57:29 ukai Exp $ */
/*
* regex: Regular expression pattern match library
*
@@ -659,7 +659,7 @@ matchWhich(longchar * pattern, longchar c, int igncase)
ans = 1;
break;
}
- else if (igncase && c < 127 && IS_ALPHA(c) &&
+ else if (igncase && c < 127 && IS_ALPHA(c) &&
((*p <= c && tolower(c) <= *(p + 2)) ||
(*p <= c && toupper(c) <= *(p + 2)))) {
ans = 1;
@@ -672,7 +672,7 @@ matchWhich(longchar * pattern, longchar c, int igncase)
ans = 1;
break;
}
- else if (igncase && c < 127 && IS_ALPHA(c) &&
+ else if (igncase && c < 127 && IS_ALPHA(c) &&
(*p == tolower(c) || *p == toupper(c))) {
ans = 1;
break;