Small fix for Dano - at Bernd request =)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user