1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

New classes CharPointer_UTF8, CharPointer_UTF16, CharPointer_UTF32, complete refactoring of CharacterFunctions class and updates to the internals of String methods. Removal of String::operator+= (unsigned int) because of clashes with wide-char types that use unsigned int. Made core classes compatible with Android. Minor fixes to ListBox and AudioDeviceManager.

This commit is contained in:
Julian Storer 2011-01-26 19:49:36 +00:00
parent c6b81ebf51
commit 1b05a7d46d
42 changed files with 6834 additions and 2479 deletions

View file

@ -470,11 +470,13 @@ void StringArray::appendNumbersToDuplicates (const bool ignoreCase,
const juce_wchar* preNumberString,
const juce_wchar* postNumberString)
{
String defaultPre (" ("), defaultPost (")"); // (these aren't literals because of non-unicode literals on Android)
if (preNumberString == 0)
preNumberString = L" (";
preNumberString = defaultPre;
if (postNumberString == 0)
postNumberString = L")";
postNumberString = defaultPost;
for (int i = 0; i < size() - 1; ++i)
{