From fe47c135a5f1a14903ee1424405472d9c5b2b6d3 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 20 Dec 2021 08:43:05 +0000 Subject: [PATCH] Docs: Fix typo --- modules/juce_gui_extra/documents/juce_FileBasedDocument.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_extra/documents/juce_FileBasedDocument.h b/modules/juce_gui_extra/documents/juce_FileBasedDocument.h index 2a8e77e340..3f633aee59 100644 --- a/modules/juce_gui_extra/documents/juce_FileBasedDocument.h +++ b/modules/juce_gui_extra/documents/juce_FileBasedDocument.h @@ -232,7 +232,7 @@ public: If it does need saving it'll prompt the user, and if they say "discard changes" the callback will be called with savedOk, so again, you can safely delete the document. - If the user clicks "cancel", the callback will be aclled with userCancelledSave, so + If the user clicks "cancel", the callback will be called with userCancelledSave, so you can abort the close-document operation. And if they click "save changes", it'll try to save and the callback will be called