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