http://bugs.winehq.org/show_bug.cgi?id=5772
svzj@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #3113 is|0 |1 obsolete| |
------- Additional Comments From svzj@centrum.cz 2006-31-07 08:39 ------- Created an attachment (id=3115) --> (http://bugs.winehq.org/attachment.cgi?id=3115&action=view) Third time lucky
While reading the msdn description, I decided to use my precious brain and came up with following conclusions: The function ScriptLayout decides whether the text is rtl or ltr and somehow copies the raw text input to one of the output arrays (the last two arguments). This description might be actually wrong in every point, but the important thing is, that simple passing the contents of the input (the second argument) to one of the output arrays (whichever is not NULL as suggested on msdn) does the trick - not only SWiSHmax won't crash when I try to add some text, it actually DOES add some text.
Altough the patch probably isn't top quality stuff, I'm actually pretty happy with my first successful wine hack :-)