[Shadowirc-commits] CVS: shadowirc/src/waste/src WEInlineInput.c,1.4,1.5
Status: Alpha
Brought to you by:
dshadow
|
From: John B. <ds...@us...> - 2005-05-01 04:41:11
|
Update of /cvsroot/shadowirc/shadowirc/src/waste/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7821/src/waste/src Modified Files: WEInlineInput.c Log Message: Tiger compile fix - constants changed in Tiger with no good BC workaround. If someone wants this to compile pre-Tiger, make a patch containing conditional definitions of the constants and I'll include it. rdar://3734741 Index: WEInlineInput.c =================================================================== RCS file: /cvsroot/shadowirc/shadowirc/src/waste/src/WEInlineInput.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- WEInlineInput.c 14 Dec 2002 15:49:15 -0000 1.4 +++ WEInlineInput.c 1 May 2005 04:41:03 -0000 1.5 @@ -59,14 +59,14 @@ hiliteStyle = ABS(hiliteStyle); // if hiliteStyle is kCaretPosition, set the selection range - if (hiliteStyle == kCaretPosition) + if (hiliteStyle == kTSMHiliteCaretPosition) { pWE->selStart = rangeStart; pWE->selEnd = rangeEnd; } else { - hiliteStyle -= kRawText; + hiliteStyle -= kTSMHiliteRawText; // otherwise set the WETextStyle flags of the specified range appropriately if ((hiliteStyle >= 0) && (hiliteStyle <= 3)) { |