Mercurial > projects > dwt-linux
comparison dwt/dwthelper/utils.d @ 246:f08216d53777
Fix merge bug in TextLayout
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 19 May 2008 17:08:39 +0200 |
parents | 239b9a56bd5f |
children | e1ec1581e355 |
comparison
equal
deleted
inserted
replaced
245:239b9a56bd5f | 246:f08216d53777 |
---|---|
441 && (( str[i ] & 0xF8 ) is 0xF0 )) | 441 && (( str[i ] & 0xF8 ) is 0xF0 )) |
442 { | 442 { |
443 i+=4; | 443 i+=4; |
444 } | 444 } |
445 else{ | 445 else{ |
446 tango.text.convert.Utf.onUnicodeError( "invalid utf8 input "~str, i ); | 446 Trace.formatln( "invalid utf8 characters: {:X2}", cast(ubyte[]) str ); |
447 tango.text.convert.Utf.onUnicodeError( "invalid utf8 input", i ); | |
447 } | 448 } |
448 searchRelCp--; | 449 searchRelCp--; |
449 } | 450 } |
450 } | 451 } |
451 else if( searchRelCp < 0 ){ | 452 else if( searchRelCp < 0 ){ |