mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 14:58:50 +00:00
Fixed bug in LreadLine
This commit is contained in:
parent
21a52fd58f
commit
fe963a15d7
2 changed files with 3 additions and 1 deletions
|
|
@ -1239,6 +1239,8 @@ extern void* LreadLine () {
|
||||||
if (scanf ("%m[^\n]", &buf) == 1) {
|
if (scanf ("%m[^\n]", &buf) == 1) {
|
||||||
void * s = Bstring (buf);
|
void * s = Bstring (buf);
|
||||||
|
|
||||||
|
getchar ();
|
||||||
|
|
||||||
free (buf);
|
free (buf);
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
let version = "Version 1.00, 897af34a, Mon Feb 24 01:08:09 2020 +0300"
|
let version = "Version 1.00, 21a52fd5, Tue Feb 25 00:58:17 2020 +0300"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue