[Shadowirc-commits] CVS: shadowirc/src/waste/src WEInlineInput.c,1.5,1.6
Status: Alpha
Brought to you by:
dshadow
|
From: Sean M. <smc...@us...> - 2005-05-01 07:04:25
|
Update of /cvsroot/shadowirc/shadowirc/src/waste/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13220 Modified Files: WEInlineInput.c Log Message: This should keep the WASTE bits building on Panther. Index: WEInlineInput.c =================================================================== RCS file: /cvsroot/shadowirc/shadowirc/src/waste/src/WEInlineInput.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- WEInlineInput.c 1 May 2005 04:41:03 -0000 1.5 +++ WEInlineInput.c 1 May 2005 07:04:16 -0000 1.6 @@ -11,7 +11,7 @@ * */ - +#include <AvailabilityMacros.h> #include "WASTEIntf.h" // special event ID used by Kotoeri and other input methods @@ -30,6 +30,11 @@ static AEEventHandlerUPP _weOffsetToPositionHandler = nil; static AEEventHandlerUPP _weGetTextHandler = nil; +#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_3 +#define kTSMHiliteCaretPosition kCaretPosition +#define kTSMHiliteRawText kRawText +#endif + pascal OSErr _WEHiliteRangeArray(TextRangeArrayHandle hTray, WEHandle hWE) { WEPtr pWE = *hWE; // assume WE record is already locked |