Alexander Dorofeyev alexd14@hushmail.com writes:
3rd try. In this version I don't create a temp buffer, instead pass the original string to subroutines; in BidiLines an additional parameter had to be added, to indicate that the original string has been passed and in-place modifications it normally does on the buffer must be skipped.
You should pass separate in and out pointers, since the input pointer is const you can't use it in place of the output one.