diff --git a/uppsrc/Core/Value.cpp b/uppsrc/Core/Value.cpp index 2e018441f..08513f60e 100644 --- a/uppsrc/Core/Value.cpp +++ b/uppsrc/Core/Value.cpp @@ -227,7 +227,7 @@ float Value::GetOtherFloat() const bool Value::GetOtherBool() const { - if(IsNull()) return Null; + if(IsNull()) return false; return data.IsSpecial(DOUBLE_V) ? (bool)GetSmall() : data.IsSpecial(INT_V) ? (bool)GetSmall() : data.IsSpecial(FLOAT_V) ? (float)GetSmall() : diff --git a/uppsrc/ide/Build.cpp b/uppsrc/ide/Build.cpp index 12358b8e0..9f9eca36e 100644 --- a/uppsrc/ide/Build.cpp +++ b/uppsrc/ide/Build.cpp @@ -57,7 +57,9 @@ void Ide::EndBuilding(bool ok) if(!errors.IsEmpty()) ok = false; PutConsole(""); - PutConsole((ok ? "OK. " : "There were errors. ") + GetPrintTime(build_time)); + Time tm = GetSysTime(); + PutConsole((ok ? "OK. " : "There were errors. ") + GetPrintTime(build_time) + + Format(" (completed at %02d:%02d)", (int)tm.hour, (int)tm.minute)); SetIdeState(EDITING); if(GetTopWindow()->IsOpen()) { if(ok)