mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
String fix. Minor additional methods for FileBasedDocument and Slider. Jucer development.
This commit is contained in:
parent
643eea5fde
commit
a612dfdc2f
27 changed files with 1089 additions and 782 deletions
|
|
@ -78,7 +78,8 @@ public:
|
|||
static juce_wchar* createCopy (const char* const src, const size_t numChars)
|
||||
{
|
||||
juce_wchar* const dest = createUninitialised (numChars);
|
||||
CharacterFunctions::copy (dest, src, numChars + 1);
|
||||
CharacterFunctions::copy (dest, src, numChars);
|
||||
dest [numChars] = 0;
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue