Mercurial > projects > dwt-addons
diff dwtx/sleak/Sleak.d @ 200:eb3414669eb0 default tip
fix for dmd 1.041 and tango 0.99.8
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 28 Mar 2009 03:09:57 +0100 |
parents | a012107a911c |
children |
line wrap: on
line diff
--- a/dwtx/sleak/Sleak.d Fri Mar 13 17:03:26 2009 +0100 +++ b/dwtx/sleak/Sleak.d Sat Mar 28 03:09:57 2009 +0100 @@ -234,8 +234,8 @@ if (index is -1) return; if (check.getSelection ()) { char[] txt = "Stacktrace info (if missing you need stacktrace support for your program):\n"; - foreach( line; errors[index].info ){ - txt ~= line ~ \n; + foreach( frame; errors[index].info ){ + txt ~= Format("{}:{}\n", frame.file, frame.line ); } text.setText (txt); text.setVisible (true);