Small fix for Dano - at Bernd request =)

This commit is contained in:
oscarl-2
2003-04-03 06:29:23 +00:00
parent c3dadf037e
commit 0e2b56b566

View File

@@ -491,11 +491,16 @@ BString &
BString_Truncate(BString *String, int32 newLength,
bool lazy)
{
return String->Truncate(newLength,
lazy);
#ifdef B_BEOS_VERSION_DANO
// Dano's Truncate doesn't have the 'lazy' parameter
return String->Truncate(newLength);
#else
return String->Truncate(newLength, lazy);
#endif
}
/*
* Method: BString::Remove()
* Descr: