aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fstring.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fstring.h b/src/fstring.h
index c324e4a..de34cb0 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -622,7 +622,7 @@ namespace Bu
622 *@param sText (const chr *) The string to search for. 622 *@param sText (const chr *) The string to search for.
623 *@returns (long) The index of the first occurrance. -1 for not found. 623 *@returns (long) The index of the first occurrance. -1 for not found.
624 */ 624 */
625 long find( const chr cChar ) 625 long find( const chr cChar ) const
626 { 626 {
627 flatten(); 627 flatten();
628 for( long j = 0; j < pFirst->nLength; j++ ) 628 for( long j = 0; j < pFirst->nLength; j++ )
@@ -638,7 +638,7 @@ namespace Bu
638 *@param cChar (const chr) The character to search for. 638 *@param cChar (const chr) The character to search for.
639 *@returns (long) The index of the first occurrance. -1 for not found. 639 *@returns (long) The index of the first occurrance. -1 for not found.
640 */ 640 */
641 long find( const chr *sText ) 641 long find( const chr *sText ) const
642 { 642 {
643 long nTLen = strlen( sText ); 643 long nTLen = strlen( sText );
644 flatten(); 644 flatten();
@@ -655,7 +655,7 @@ namespace Bu
655 *@param sText (const chr *) The string to search for. 655 *@param sText (const chr *) The string to search for.
656 *@returns (long) The index of the last occurrance. -1 for not found. 656 *@returns (long) The index of the last occurrance. -1 for not found.
657 */ 657 */
658 long rfind( const chr *sText ) 658 long rfind( const chr *sText ) const
659 { 659 {
660 long nTLen = strlen( sText ); 660 long nTLen = strlen( sText );
661 flatten(); 661 flatten();