diff --git a/modules/juce_core/files/juce_File.cpp b/modules/juce_core/files/juce_File.cpp index b5826c7cdb..b480e9e4a7 100644 --- a/modules/juce_core/files/juce_File.cpp +++ b/modules/juce_core/files/juce_File.cpp @@ -770,8 +770,7 @@ bool File::appendText (const String& text, if (out.failedToOpen()) return false; - out.writeText (text, asUnicode, writeUnicodeHeaderBytes); - return true; + return out.writeText (text, asUnicode, writeUnicodeHeaderBytes); } bool File::replaceWithText (const String& textToWrite,