diff options
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r-- | sword2/function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp index 7e241ba094..a80ffa7f0b 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -3032,7 +3032,7 @@ int32 Logic::fnPlayCredits(int32 *params) { } char buffer[80]; - char *line = f.gets(buffer, sizeof(buffer)); + char *line = f.readLine(buffer, sizeof(buffer)); if (!line || *line == 0) { if (!hasCenterMark) { |