updates for making dist, new internal fcn getline_xgrapgh

This commit is contained in:
h_vogt
2010-05-30 09:26:34 +00:00
parent af32733fa8
commit d080f6dfc0
6 changed files with 18 additions and 13 deletions
+4 -3
View File
@@ -33,6 +33,7 @@ static short gray_bits[] =
static void make_msg_box();
static void del_msg_box();
static int getline_xgraph(char**,char*);
#define D_VPAD 2
@@ -777,7 +778,7 @@ xtb_frame *frame; /* Returned frame */
memset(new_info->lines, 0, sizeof(Window) * E_LINES);
lineptr = text;
while (getline(&lineptr, line)) {
while (getline_xgraph(&lineptr, line)) {
if (new_info->num_lines >= new_info->alloc_lines) {
int old_alloc_lines_size = new_info->alloc_lines * sizeof(Window);
new_info->alloc_lines *= 2;
@@ -887,8 +888,8 @@ char *err_text;
int
getline(tptr, lptr)
static int
getline_xgraph(tptr, lptr)
char **tptr;
char *lptr;