FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix parsing of the command 'set term cgm "fontname" fontsize' · gnuplot/gnuplot@7e2d9e0 · GitHub

Repository navigation

Commit 7e2d9e0

Browse files
Ethan Merritt
committed
Fix parsing of the command 'set term cgm "fontname" fontsize'
1 parent fca7787 commit 7e2d9e0

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎ChangeLog‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2007-10-03 Ethan Merritt <merritt@u.washington.edu>
2+
3+
* term/cgm.trm (CGM_options): Remove spurious c_token++, which caused
4+
parsing to skip the font size in: set term cgm "fontname" fontsize
5+
16
2007-10-02 Ethan Merritt <merritt@u.washington.edu>
27

38
* src/binary.c src/binary.h src/bf_test.c: Rename the routine vector()

‎term/cgm.trm‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Hey Emacs this is -*- C -*-
2-
* $Id: cgm.trm,v 1.80 2007/01/14 05:06:50 sfeam Exp $
2+
* $Id: cgm.trm,v 1.81 2007/02/10 22:00:01 sfeam Exp $
33
*/
44

55
/* GNUPLOT - cgm.trm */
@@ -347,6 +347,7 @@ static struct gen_table CGM_opts[] =
347347
{ "da$shed", CGM_DASHED },
348348
{ "s$olid", CGM_SOLID },
349349
{ "li$newidth", CGM_LINEWIDTH },
350+
{ "lw", CGM_LINEWIDTH },
350351
{ "wid$th", CGM_WIDTH },
351352
{ NULL, CGM_OTHER }
352353
};
@@ -484,7 +485,7 @@ CGM_options()
484485
} else
485486
free(s);
486487
strncpy(cgm_font, cgm_font_data[font_index-1].name, sizeof(cgm_font));
487-
c_token++;
488+
488489
} else {
489490
/* the user is specifying the font size */
490491
cgm_fontsize = (int) real(const_express(&a));

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL