aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-24 22:02:22 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-01-24 22:02:22 +0000
commitfc16e57e473393459c662d530c8b31bb1438df2e (patch)
treebae527868e1bc003dca66b810b5ab7e2eb740cbd /src
parentd7f7197fd1b0e06098379fad6cc1adbe69c442e3 (diff)
fixed "help"-message on w32 (split into smaller junks to prevent crashes)
svn path=/trunk/externals/zexy/; revision=4486
Diffstat (limited to 'src')
-rw-r--r--src/msgfile.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/msgfile.c b/src/msgfile.c
index ed1c676..6bc4e8b 100644
--- a/src/msgfile.c
+++ b/src/msgfile.c
@@ -687,11 +687,6 @@ static void msgfile_write(t_msgfile *x, t_symbol *filename, t_symbol *format)
/* close */
if (f) fclose(f);
-#if 0
- if (binbuf_write(bbuf, buf, "", cr))
- error("%s: write failed", filename->s_name);
-#endif
-
binbuf_free(bbuf);
}
@@ -706,8 +701,8 @@ static void msgfile_help(t_msgfile *x)
"\nprev\t\t: output previous line"
"\nthis\t\t: output this line"
"\nnext\t\t: output next line"
- "\nflush\t\t: output all lines"
- "\nset <list>\t: clear the buffer and add <list>"
+ "\nflush\t\t: output all lines");
+ post("set <list>\t: clear the buffer and add <list>"
"\nadd <list>\t: add <list> at the end of the file"
"\nadd2 <list>\t: append <list> to the last line of the file"
"\nappend <list>\t: append <list> at the current position"
@@ -716,8 +711,8 @@ static void msgfile_help(t_msgfile *x)
"\ninsert2 <list>\t: append <list> to position [current-1]"
"\nreplace <list>\t: replace current line by <list>"
"\ndelete [<pos> [<pos2>]]\t: delete lines or regions"
- "\nclear\t\t: delete the whole buffer"
- "\nwhere\t\t: output current position"
+ "\nclear\t\t: delete the whole buffer");
+ post("where\t\t: output current position"
"\nfind <list>\t: search for <list>"
"\nread <file> [<format>]\t: read <file> as <format>"
"\nwrite <file> [<format>]\t: write <file> as <format>"