Small fix for Dano - at Bernd request =)
This commit is contained in:
@@ -491,11 +491,16 @@ BString &
|
|||||||
BString_Truncate(BString *String, int32 newLength,
|
BString_Truncate(BString *String, int32 newLength,
|
||||||
bool lazy)
|
bool lazy)
|
||||||
{
|
{
|
||||||
return String->Truncate(newLength,
|
#ifdef B_BEOS_VERSION_DANO
|
||||||
lazy);
|
// Dano's Truncate doesn't have the 'lazy' parameter
|
||||||
|
return String->Truncate(newLength);
|
||||||
|
#else
|
||||||
|
return String->Truncate(newLength, lazy);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Method: BString::Remove()
|
* Method: BString::Remove()
|
||||||
* Descr:
|
* Descr:
|
||||||
|
|||||||
Reference in New Issue
Block a user