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_champ.c
diff --git
a/scilab/modules/graphics/sci_gateway/c/sci_champ.c
b/scilab/modules/graphics/sci_gateway/c/sci_champ.c
index
6a99f26
..
d84b68b
100644
(file)
--- a/
scilab/modules/graphics/sci_gateway/c/sci_champ.c
+++ b/
scilab/modules/graphics/sci_gateway/c/sci_champ.c
@@
-53,6
+53,7
@@
int sci_champ_G(char *fname,
};
char * strf = NULL;
+ char strfl[4];
double* rect = NULL;
int* piAddr1 = NULL;
@@
-194,7
+195,6
@@
int sci_champ_G(char *fname,
if (isDefStrf(strf))
{
- char strfl[4];
strcpy(strfl, DEFSTRFN);
strf = strfl;
if (!isDefRect(rect))