diff options
author | Norbert Preining <norbert@preining.info> | 2020-11-24 03:01:06 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-11-24 03:01:06 +0000 |
commit | 55c6d66f61a96ba63cd8c141229843ad2ab42632 (patch) | |
tree | 64fa3f4bc82828c2475a6a25d23a02cb36502b95 /graphics/asymptote/runfile.in | |
parent | f0be59ccfa7046c57199fe35c49e1e8963fcb1a9 (diff) |
CTAN sync 202011240301
Diffstat (limited to 'graphics/asymptote/runfile.in')
-rw-r--r-- | graphics/asymptote/runfile.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/graphics/asymptote/runfile.in b/graphics/asymptote/runfile.in index f1554940f3..da08d523ef 100644 --- a/graphics/asymptote/runfile.in +++ b/graphics/asymptote/runfile.in @@ -145,10 +145,7 @@ string getc(file *f) { char c=0; if(f->isOpen()) f->read(c); - static char str[2]; - str[0]=c; - str[1]=0; - return string(str); + return string(1,c); } Int tell(file *f) |