ui: change some places to call safe-summary.

db4
John Benediktsson 2012-07-22 14:37:15 -07:00
parent 0f1a89c7cd
commit efe2926d8e
3 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,8 @@ IN: inspector
SYMBOL: +number-rows+
: print-summary ( obj -- ) [ summary ] keep write-object ;
: print-summary ( obj -- )
[ safe-summary ] keep write-object ;
<PRIVATE

View File

@ -26,4 +26,4 @@ IN: ui.gadgets.status-bar
open-world-window ;
: show-summary ( object gadget -- )
[ [ summary ] [ "" ] if* ] dip show-status ;
[ [ safe-summary ] [ "" ] if* ] dip show-status ;

View File

@ -83,7 +83,7 @@ M: error-renderer row-columns
[ error-type error-icon ]
[ line#>> [ number>string ] [ "" ] if* ]
[ asset>> [ unparse-short ] [ "" ] if* ]
[ error>> summary ]
[ error>> safe-summary ]
} cleave
] output>array ;