diff options
Diffstat (limited to 'Build/source/utils/asymptote/runfile.in')
-rw-r--r-- | Build/source/utils/asymptote/runfile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/runfile.in b/Build/source/utils/asymptote/runfile.in index e51b3b76eac..d9186eee6d7 100644 --- a/Build/source/utils/asymptote/runfile.in +++ b/Build/source/utils/asymptote/runfile.in @@ -145,8 +145,9 @@ string getc(file *f) { char c=0; if(f->isOpen()) f->read(c); - static char str[1]; + static char str[2]; str[0]=c; + str[1]=0; return string(str); } |