diff --git a/uppsrc/CtrlLib/CtrlUtil.cpp b/uppsrc/CtrlLib/CtrlUtil.cpp index d5988399a..e7016cefc 100644 --- a/uppsrc/CtrlLib/CtrlUtil.cpp +++ b/uppsrc/CtrlLib/CtrlUtil.cpp @@ -64,7 +64,7 @@ void Animate(Ctrl& c, int x, int y, int cx, int cy, int type) bool CtrlLibDisplayError(const Value& e) { if(!e.IsError()) return false; - String s = ValueTo(e); + String s = GetErrorText(e); if(s.IsEmpty()) s = t_("Invalid data."); Exclamation(s);