diff options
| author | Pixel <Pixel> | 2001-05-01 12:43:53 +0000 | 
|---|---|---|
| committer | Pixel <Pixel> | 2001-05-01 12:43:53 +0000 | 
| commit | 1d19117579eb899eb2d92136e0f4661f629db201 (patch) | |
| tree | 897b5212b537a7594a94bfe6f374966d0e408ecd /lib | |
| parent | b05b13f4f74e253f844d168e057f3be5408d06f5 (diff) | |
Chtit bug
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/scalaires.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/scalaires.c b/lib/scalaires.c index 33b7ef2..c2e7d1f 100644 --- a/lib/scalaires.c +++ b/lib/scalaires.c @@ -119,7 +119,7 @@ rationnel rat_division(rationnel rat1, rationnel rat2)  char *rat_to_string(rationnel rat)  { -	char resultat[128]; +	static char resultat[128];  	char temp[64];  	if (rat.num<0) { @@ -154,6 +154,5 @@ char *rat_to_string(rationnel rat)  	}  	strcat(resultat, temp); -	return 	Estrdup(resultat); -	 +	return resultat;	  }  | 
