From c4ff570220e5bc00f63ef497591ed08cdda4354b Mon Sep 17 00:00:00 2001 From: Calixte DENIZET Date: Wed, 23 Jan 2013 20:24:04 +0100 Subject: [PATCH] Bug 11958 fixed: axesflag=0 was not taken into account in plot2d3 Change-Id: I5c966cb1aa47f38493d313fa1aa8394e61f52d4f --- scilab/CHANGES_5.4.X | 2 ++ .../modules/graphics/sci_gateway/c/sci_plot2d1.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scilab/CHANGES_5.4.X b/scilab/CHANGES_5.4.X index 1587cb0..5800f49 100644 --- a/scilab/CHANGES_5.4.X +++ b/scilab/CHANGES_5.4.X @@ -213,6 +213,8 @@ Bug fixes * Bug #11952 fixed - In SciNotes, a Java exception occured on selection of text containing a \E. +* Bug #11958 fixed - axesflag=0 was not taken into account in plot2d3. + * Bug #11962 fixed - event_handler may be called on wrong figure_id. * Bug #11965 fixed - Export to SVG converted texts in shapes. diff --git a/scilab/modules/graphics/sci_gateway/c/sci_plot2d1.c b/scilab/modules/graphics/sci_gateway/c/sci_plot2d1.c index 7a205be..7ed81d7 100644 --- a/scilab/modules/graphics/sci_gateway/c/sci_plot2d1.c +++ b/scilab/modules/graphics/sci_gateway/c/sci_plot2d1.c @@ -70,6 +70,7 @@ int sci_plot2d1_G( char * fname, int ptype, unsigned long fname_len ) char * strf = NULL ; char * legend = NULL ; char * logFlags = NULL ; + char strfl[4]; if (Rhs <= 0) { /* lauch the default routines depending on the name of the calling funtion */ @@ -198,7 +199,6 @@ int sci_plot2d1_G( char * fname, int ptype, unsigned long fname_len ) if (iskip==0) GetLogflags(fname,8,opts,&logFlags); if ( isDefStrf( strf ) ) { - char strfl[4]; strcpy(strfl,DEFSTRFN); strf = strfl; -- 1.7.9.5