Mercurial > projects > dwt-linux
diff 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 |
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d Mon May 19 14:34:47 2008 +0200 +++ b/dwt/dwthelper/utils.d Mon May 19 17:08:39 2008 +0200 @@ -443,7 +443,8 @@ i+=4; } else{ - tango.text.convert.Utf.onUnicodeError( "invalid utf8 input "~str, i ); + Trace.formatln( "invalid utf8 characters: {:X2}", cast(ubyte[]) str ); + tango.text.convert.Utf.onUnicodeError( "invalid utf8 input", i ); } searchRelCp--; }