From f80df37183382a3194023129f3c2badf23176b74 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 25 Jun 2018 17:27:38 +0100 Subject: [PATCH] Fixed a couple of typos in comments --- modules/juce_graphics/colour/juce_Colour.h | 2 +- modules/juce_osc/osc/juce_OSCArgument.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/juce_graphics/colour/juce_Colour.h b/modules/juce_graphics/colour/juce_Colour.h index c239f3a883..570c8df248 100644 --- a/modules/juce_graphics/colour/juce_Colour.h +++ b/modules/juce_graphics/colour/juce_Colour.h @@ -191,7 +191,7 @@ public: /** Returns a 32-bit integer that represents this colour. The format of this number is: - ((alpha << 24) | (red << 16) | (green << 16) | blue). + ((alpha << 24) | (red << 16) | (green << 8) | blue). */ uint32 getARGB() const noexcept; diff --git a/modules/juce_osc/osc/juce_OSCArgument.h b/modules/juce_osc/osc/juce_OSCArgument.h index 3cc649e671..9492e13dcc 100644 --- a/modules/juce_osc/osc/juce_OSCArgument.h +++ b/modules/juce_osc/osc/juce_OSCArgument.h @@ -66,13 +66,13 @@ public: /** Returns whether the type of the OSCArgument is int32. */ bool isInt32() const noexcept { return type == OSCTypes::int32; } - /** Returns whether the type of the OSCArgument is int32. */ + /** Returns whether the type of the OSCArgument is float. */ bool isFloat32() const noexcept { return type == OSCTypes::float32; } - /** Returns whether the type of the OSCArgument is int32. */ + /** Returns whether the type of the OSCArgument is string. */ bool isString() const noexcept { return type == OSCTypes::string; } - /** Returns whether the type of the OSCArgument is int32. */ + /** Returns whether the type of the OSCArgument is blob. */ bool isBlob() const noexcept { return type == OSCTypes::blob; } /** Returns the value of the OSCArgument as an int32.