aboutsummaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 572e04972..c2d4457e9 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -301,7 +301,7 @@ static void status_line_bold(const char *, ...);
301static void not_implemented(const char *); // display "Not implemented" message 301static void not_implemented(const char *); // display "Not implemented" message
302static int format_edit_status(void); // format file status on status line 302static int format_edit_status(void); // format file status on status line
303static void redraw(int); // force a full screen refresh 303static void redraw(int); // force a full screen refresh
304static char* format_line(char*, int); 304static char* format_line(char* /*, int*/);
305static void refresh(int); // update the terminal from screen[] 305static void refresh(int); // update the terminal from screen[]
306 306
307static void Indicate_Error(void); // use flash or beep to indicate error 307static void Indicate_Error(void); // use flash or beep to indicate error
@@ -2764,7 +2764,7 @@ static void redraw(int full_screen)
2764} 2764}
2765 2765
2766//----- Format a text[] line into a buffer --------------------- 2766//----- Format a text[] line into a buffer ---------------------
2767static char* format_line(char *src, int li) 2767static char* format_line(char *src /*, int li*/)
2768{ 2768{
2769 unsigned char c; 2769 unsigned char c;
2770 int co; 2770 int co;
@@ -2848,7 +2848,7 @@ static void refresh(int full_screen)
2848 int cs, ce; // column start & end 2848 int cs, ce; // column start & end
2849 char *out_buf; 2849 char *out_buf;
2850 // format current text line 2850 // format current text line
2851 out_buf = format_line(tp, li); 2851 out_buf = format_line(tp /*, li*/);
2852 2852
2853 // skip to the end of the current text[] line 2853 // skip to the end of the current text[] line
2854 if (tp < end) { 2854 if (tp < end) {