>--- You wrote:
>It has its own implementation for 3.1 devices that uses the proper
>character.  I'm not sure why the bug is in 3.1, although I suspect the
>routine was written properly, then they changed the character indices in
>the font before releasing the OS version and forgot to fix this code.
>--- end of quote ---
>
>Thanks WinGlueDrawTruncChars() fixed it on 3.1
>
>FYI, I tried changing Chars.h to use the new location for OS > 3.1 
>instead of >=
>3.1, to make it use the old location just as a test. Still got a Box. So it
>seems like the problem is in the WinDrawTruncChars itself. Supprised they hard
>coded it and didn't use the ChrHorizEllipsis macro to verify where it was.

WinDrawTruncChars calls WinDrawChar to draw the ellipsis in the case 
of truncation. WinDrawChar calls TxtSetNextChar to set up the text 
buffer for drawing, but on 3.1 Latin ROMs the call to TxtSetNextChar 
was accidentally turned into a no-op via a macro (though only in the 
source for Window Mgr routines). So the real bug is that WinDrawChar 
is busted on 3.1 Latin ROMs.

-- Ken

Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to