mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-19 06:02:03 +00:00
No need to increment string pointer at exit.
This commit is contained in:
parent
4a5648141c
commit
48941897b9
1 changed files with 2 additions and 2 deletions
|
@ -868,13 +868,13 @@ fluid_istream_gets (fluid_istream_t in, char* buf, int len)
|
|||
|
||||
if (n == 0)
|
||||
{
|
||||
*buf++ = 0;
|
||||
*buf = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (c == '\n')
|
||||
{
|
||||
*buf++ = 0;
|
||||
*buf = 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue