Add beast_basics module

This commit is contained in:
Vinnie Falco
2013-06-17 06:42:49 -07:00
parent f2d84f0a90
commit d0a309e6da
121 changed files with 15337 additions and 76 deletions

View File

@@ -1110,7 +1110,7 @@ String String::replaceSection (int index, int numCharsToReplace, const String& s
if (index < 0)
{
// a negative index to replace from?
jassertfalse;
bassertfalse;
index = 0;
}
@@ -1118,7 +1118,7 @@ String String::replaceSection (int index, int numCharsToReplace, const String& s
{
// replacing a negative number of characters?
numCharsToReplace = 0;
jassertfalse;
bassertfalse;
}
int i = 0;
@@ -1129,7 +1129,7 @@ String String::replaceSection (int index, int numCharsToReplace, const String& s
if (insertPoint.isEmpty())
{
// replacing beyond the end of the string?
jassertfalse;
bassertfalse;
return *this + stringToInsert;
}