mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
updates for making dist, new internal fcn getline_xgrapgh
This commit is contained in:
+4
-3
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user