From 9bb84f125fe08cdc96a924bb9fc35edd2e6c8e45 Mon Sep 17 00:00:00 2001 From: Mirek Fidler Date: Sat, 15 Nov 2025 09:10:19 +0100 Subject: [PATCH] .cosmetics --- uppsrc/Core/Value.cpp | 2 +- uppsrc/ide/Build.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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)