aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-09-26 20:58:51 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-09-26 20:58:51 +0000
commit1ce0d7fe50ae6f6e2cec7c442f95e3244e372031 (patch)
tree48208fe9b3fc5d6d71e87aa8d42fa13b1a2356f9 /main.c
parentfix indent (diff)
downloadw3m-1ce0d7fe50ae6f6e2cec7c442f95e3244e372031.tar.gz
w3m-1ce0d7fe50ae6f6e2cec7c442f95e3244e372031.zip
fix indent
Diffstat (limited to 'main.c')
-rw-r--r--main.c37
1 files changed, 24 insertions, 13 deletions
diff --git a/main.c b/main.c
index b9ff11f..e18a0c9 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.236 2003/09/26 20:45:53 ukai Exp $ */
+/* $Id: main.c,v 1.237 2003/09/26 20:58:51 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -1232,7 +1232,7 @@ do_dump(Buffer *buf)
mySignal(SIGINT, prevtrap);
}
-DEFUN(nulcmd, @@@ NOTHING NULL, "Do nothing")
+DEFUN(nulcmd, NOTHING NULL @@@, "Do nothing")
{ /* do nothing */
}
@@ -2130,7 +2130,8 @@ _movL(int n)
displayBuffer(Currentbuf, B_NORMAL);
}
-DEFUN(movL, MOVE_LEFT, "Move cursor left (a half screen shift at the left edge)")
+DEFUN(movL, MOVE_LEFT,
+ "Move cursor left (a half screen shift at the left edge)")
{
_movL(Currentbuf->COLS / 2);
}
@@ -2152,12 +2153,14 @@ _movD(int n)
displayBuffer(Currentbuf, B_NORMAL);
}
-DEFUN(movD, MOVE_DOWN, "Move cursor down (a half screen scroll at the end of screen)")
+DEFUN(movD, MOVE_DOWN,
+ "Move cursor down (a half screen scroll at the end of screen)")
{
_movD((Currentbuf->LINES + 1) / 2);
}
-DEFUN(movD1, MOVE_DOWN1, "Move cursor down (1 line scroll at the end of screen)")
+DEFUN(movD1, MOVE_DOWN1,
+ "Move cursor down (1 line scroll at the end of screen)")
{
_movD(1);
}
@@ -2174,7 +2177,8 @@ _movU(int n)
displayBuffer(Currentbuf, B_NORMAL);
}
-DEFUN(movU, MOVE_UP, "Move cursor up (a half screen scroll at the top of screen)")
+DEFUN(movU, MOVE_UP,
+ "Move cursor up (a half screen scroll at the top of screen)")
{
_movU((Currentbuf->LINES + 1) / 2);
}
@@ -2196,12 +2200,14 @@ _movR(int n)
displayBuffer(Currentbuf, B_NORMAL);
}
-DEFUN(movR, MOVE_RIGHT, "Move cursor right (a half screen shift at the right edge)")
+DEFUN(movR, MOVE_RIGHT,
+ "Move cursor right (a half screen shift at the right edge)")
{
_movR(Currentbuf->COLS / 2);
}
-DEFUN(movR1, MOVE_RIGHT1, "Move cursor right (1 columns shift at the right edge)")
+DEFUN(movR1, MOVE_RIGHT1,
+ "Move cursor right (1 columns shift at the right edge)")
{
_movR(1);
}
@@ -3930,7 +3936,8 @@ DEFUN(backBf, BACK, "Back to previous buffer")
displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
-DEFUN(deletePrevBuf, DELETE_PREVBUF, "Delete previous buffer (mainly for local-CGI)")
+DEFUN(deletePrevBuf, DELETE_PREVBUF,
+ "Delete previous buffer (mainly for local-CGI)")
{
Buffer *buf = Currentbuf->nextBuffer;
if (buf)
@@ -4289,7 +4296,8 @@ DEFUN(listMn, LIST_MENU, "Popup link list menu and go to selected link")
anchorMn(list_menu, TRUE);
}
-DEFUN(movlistMn, MOVE_LIST_MENU, "Popup link list menu and move cursor to selected link")
+DEFUN(movlistMn, MOVE_LIST_MENU,
+ "Popup link list menu and move cursor to selected link")
{
anchorMn(list_menu, FALSE);
}
@@ -5444,7 +5452,8 @@ DEFUN(tabMs, TAB_MOUSE, "Move to tab on mouse cursor (for mouse action)")
displayBuffer(Currentbuf, B_FORCE_REDRAW);
}
-DEFUN(closeTMs, CLOSE_TAB_MOUSE, "Close tab on mouse cursor (for mouse action)")
+DEFUN(closeTMs, CLOSE_TAB_MOUSE,
+ "Close tab on mouse cursor (for mouse action)")
{
TabBuffer *tab;
@@ -5563,7 +5572,8 @@ DEFUN(dictword, DICT_WORD, "Execute dictionary command (see README.dict)")
execdict(inputStr("(dictionary)!", ""));
}
-DEFUN(dictwordat, DICT_WORD_AT, "Execute dictionary command for word at cursor")
+DEFUN(dictwordat, DICT_WORD_AT,
+ "Execute dictionary command for word at cursor")
{
execdict(GetWord(Currentbuf));
}
@@ -5909,7 +5919,8 @@ DEFUN(reinit, REINIT, "Reload configuration files")
ptr, FALSE);
}
-DEFUN(defKey, DEFINE_KEY, "Define a binding between a key stroke and a user command")
+DEFUN(defKey, DEFINE_KEY,
+ "Define a binding between a key stroke and a user command")
{
char *data;