mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
.cosmetics
This commit is contained in:
parent
444e1ccab3
commit
9bb84f125f
2 changed files with 4 additions and 2 deletions
|
|
@ -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<double>() :
|
||||
data.IsSpecial(INT_V) ? (bool)GetSmall<int>() :
|
||||
data.IsSpecial(FLOAT_V) ? (float)GetSmall<float>() :
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue