projects
/
scilab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Graphics: avoid crash due to scope problem
[scilab.git]
/
scilab
/
modules
/
graphics
/
sci_gateway
/
c
/
sci_fec.c
diff --git
a/scilab/modules/graphics/sci_gateway/c/sci_fec.c
b/scilab/modules/graphics/sci_gateway/c/sci_fec.c
index
4f2a3d8
..
80c6948
100644
(file)
--- a/
scilab/modules/graphics/sci_gateway/c/sci_fec.c
+++ b/
scilab/modules/graphics/sci_gateway/c/sci_fec.c
@@
-46,6
+46,7
@@
int sci_fec(char *fname, unsigned long fname_len)
};
char* strf = NULL;
+ char strfl[4];
char* legend = NULL;
double* rect = NULL;
double* zminmax = NULL;
@@
-188,8
+189,6
@@
int sci_fec(char *fname, unsigned long fname_len)
if (isDefStrf (strf))
{
- char strfl[4];
-
strcpy(strfl, DEFSTRFN);
strf = strfl;