projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
edit.c
diff --git
a/edit.c
b/edit.c
index
88eeca3
..
cb9ff23
100644
(file)
--- a/
edit.c
+++ b/
edit.c
@@
-14,6
+14,8
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
+#include "ascii.h"
+#include "enter.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
#include "mutt_curses.h"
#include "mutt_idna.h"
@@
-54,7
+56,7
@@
static char *EditorHelp = N_("\
. on a line by itself ends input\n");
static char **be_snarf_data (FILE * f, char **buf, int *bufmax, int *buflen,
. on a line by itself ends input\n");
static char **be_snarf_data (FILE * f, char **buf, int *bufmax, int *buflen,
-
int
offset, int bytes, int prefix)
+
LOFF_T
offset, int bytes, int prefix)
{
char tmp[HUGE_STRING];
char *p = tmp;
{
char tmp[HUGE_STRING];
char *p = tmp;
@@
-68,7
+70,7
@@
static char **be_snarf_data (FILE * f, char **buf, int *bufmax, int *buflen,
tmplen = sizeof (tmp) - tmplen;
}
tmplen = sizeof (tmp) - tmplen;
}
- fseek (f, offset, 0);
+ fseek
o
(f, offset, 0);
while (bytes > 0) {
if (fgets (p, tmplen - 1, f) == NULL)
break;
while (bytes > 0) {
if (fgets (p, tmplen - 1, f) == NULL)
break;