[ scummvm-Patches-609508 ] real fix for MI2 Dialog Box crash

noreply at sourceforge.net noreply at sourceforge.net
Sun Sep 15 10:27:52 CEST 2002


Patches item #609508, was opened at 2002-09-15 01:27
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=609508&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Udaltsov (cccp_99)
Assigned to: Nobody/Anonymous (nobody)
Summary: real fix for MI2 Dialog Box crash

Initial Comment:
A new function resStrLen() gets the length of a string 
that can possibly have special characters starting with 
FF, and properly determines its length. The code was 
borrowed from line 646 string.cpp and slightly modified 
to just count characters.

Since the new gui relies on the String class, I 
substituted the strlen()'s in str.cpp with the new function. 
It's equivalent to strlen() for all regular strings, which 
won't have character FF anyway, right? :)

The older fixme was removed.


CCCP

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

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




More information about the Scummvm-tracker mailing list