[ scummvm-Patches-2815937 ] SCI: ReadString fix to repair LSL5 password

SourceForge.net noreply at sourceforge.net
Thu Jul 2 20:32:38 CEST 2009


Patches item #2815937, was opened at 2009-07-02 20:32
Message generated for change (Tracker Item Submitted) made by m_kiewitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2815937&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: M. Kiewitz (m_kiewitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: SCI: ReadString fix to repair LSL5 password

Initial Comment:
Hi there,

Someone replaced readLine with readLine_NEW, but _NEW returns ending LF and ReadString from SCI/FileIO doesn't want that, so LSL5 password gets an extra char, decodes it and instead of NONE it will get NONE(copyright-char). So it wont recognize that password is not set and asks for a password that the user isnt even able to enter :)

This patch fixes it.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2815937&group_id=37116




More information about the Scummvm-tracker mailing list