1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00

Lots of minor changes to prevent warnings. Small fixes to Path, AudioThumbnail, ValueTree, OutputStreams. Tweaks to convert Drawables to/from ValueTrees. New method to write XML to a stream.

This commit is contained in:
Julian Storer 2009-12-16 21:13:46 +00:00
parent d9dc6b1cfc
commit 80753f4c03
87 changed files with 1445 additions and 1755 deletions

View file

@ -2254,13 +2254,13 @@ const String String::fromUTF8 (const uint8* const buffer, int bufferSizeBytes) t
while (--numExtraValues >= 0 && i < bufferSizeBytes)
{
const uint8 c = buffer[i];
const uint8 nextByte = buffer[i];
if ((c & 0xc0) != 0x80)
if ((nextByte & 0xc0) != 0x80)
break;
n <<= 6;
n |= (c & 0x3f);
n |= (nextByte & 0x3f);
++i;
}