# HG changeset patch # User Frank Benoit # Date 1228034619 -3600 # Node ID 0c891bed575fc7dbc73881d552237aeff01b26f9 # Parent ba58cbca64a157375abef807253f3b9c30f5a449 Remove debug prints diff -r ba58cbca64a1 -r 0c891bed575f dwt/dwthelper/utils.d --- a/dwt/dwthelper/utils.d Sun Nov 30 09:42:03 2008 +0100 +++ b/dwt/dwthelper/utils.d Sun Nov 30 09:43:39 2008 +0100 @@ -523,11 +523,6 @@ if( searchRelCp > 0 ){ while( searchRelCp !is 0 ){ - //Trace.formatln( "( i+2 < str.length ) = {}", ( i+2 < str.length )); - //Trace.formatln( "( str[i+2] & 0xC0 ) is 0x80 ) = {}", (( str[i+2] & 0xC0 ) is 0x80 )); - //Trace.formatln( "( str[i+1] & 0xC0 ) is 0x80 ) = {}", (( str[i+1] & 0xC0 ) is 0x80 )); - //Trace.formatln( "( str[i ] & 0xF0 ) is 0xE0 ) = {}", (( str[i ] & 0xF0 ) is 0xE0 )); - if( ( i < str.length ) && (( str[i] & 0x80 ) is 0x00 )) { @@ -559,7 +554,6 @@ tango.text.convert.Utf.onUnicodeError( "invalid utf8 input", i ); } searchRelCp--; - //Trace.formatln(" . "); } } else if( searchRelCp < 0 ){ @@ -568,8 +562,6 @@ i--; if( i < 0 ){ return startIndex-1; - //Trace.formatln( "dwthelper.utils getRelativeCodePointOffset {}: str={}, startIndex={}, searchRelCp={}", __LINE__, str, startIndex, searchRelCp ); - //tango.text.convert.Utf.onUnicodeError( "invalid utf8 input", i ); } } while(( str[i] & 0xC0 ) is 0x80 ); searchRelCp++;