/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2002 Hiroyuki Yamamoto and the Sylpheed-Claws Team
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
static const gchar *body = NULL;
static gint error = 0;
-static gint cursor_pos = 0;
+static gint cursor_pos = -1;
extern int quote_fmt_firsttime;
* force LEX initialization
*/
quote_fmt_firsttime = 1;
- cursor_pos = 0;
+ cursor_pos = -1;
}
void quote_fmterror(char *str)
while (fgets(buffer, sizeof(buffer), file)) {
INSERT(buffer);
}
- fclose(file);
+ pclose(file);
}
}