aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/main.c b/main.c
index 38e7afc..4836d70 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.89 2002/03/15 18:33:32 ukai Exp $ */
+/* $Id: main.c,v 1.90 2002/03/15 19:02:40 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -230,7 +230,8 @@ fusage(FILE * f, int err)
#endif
fprintf(f, " -W toggle wrap search mode\n");
fprintf(f, " -X don't use termcap init/deinit\n");
- fprintf(f, " -title[=TERM] set buffer name to terminal title string\n");
+ fprintf(f,
+ " -title[=TERM] set buffer name to terminal title string\n");
fprintf(f, " -o opt=value assign value to config option\n");
fprintf(f, " -config file specify config file\n");
fprintf(f, " -help print this usage message\n");
@@ -663,7 +664,7 @@ MAIN(int argc, char **argv, char **envp)
else if (!strcmp("-title", argv[i]))
displayTitleTerm = getenv("TERM");
else if (!strncmp("-title=", argv[i], 7))
- displayTitleTerm = argv[i]+7;
+ displayTitleTerm = argv[i] + 7;
else if (!strcmp("-o", argv[i])) {
if (++i >= argc || !strcmp(argv[i], "?")) {
show_params_p = 1;
@@ -2173,7 +2174,7 @@ qquitfm(void)
void
quitfm(void)
{
- term_title(""); /* XXX */
+ term_title(""); /* XXX */
#ifdef USE_IMAGE
if (activeImage)
termImage();
@@ -4557,10 +4558,10 @@ dispI(void)
if (!activeImage)
return;
displayImage = TRUE;
-/*
- if (!(Currentbuf->type && !strcmp(Currentbuf->type, "text/html")))
- return;
-*/
+ /*
+ * if (!(Currentbuf->type && !strcmp(Currentbuf->type, "text/html")))
+ * return;
+ */
Currentbuf->image_flag = IMG_FLAG_AUTO;
Currentbuf->need_reshape = TRUE;
displayBuffer(Currentbuf, B_REDRAW_IMAGE);
@@ -4571,10 +4572,10 @@ stopI(void)
{
if (!activeImage)
return;
-/*
- if (!(Currentbuf->type && !strcmp(Currentbuf->type, "text/html")))
- return;
-*/
+ /*
+ * if (!(Currentbuf->type && !strcmp(Currentbuf->type, "text/html")))
+ * return;
+ */
Currentbuf->image_flag = IMG_FLAG_SKIP;
displayBuffer(Currentbuf, B_REDRAW_IMAGE);
}