From dbb15ccf0bed98b4bcb9a0b5f22da3de38aee084 Mon Sep 17 00:00:00 2001 From: Daniel Buckmaster Date: Tue, 13 Aug 2013 14:36:06 +1000 Subject: [PATCH] Reformat parameter defaults to true. --- Engine/source/gui/controls/guiMLTextCtrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/gui/controls/guiMLTextCtrl.cpp b/Engine/source/gui/controls/guiMLTextCtrl.cpp index d026bfd92..63f9c7cdd 100644 --- a/Engine/source/gui/controls/guiMLTextCtrl.cpp +++ b/Engine/source/gui/controls/guiMLTextCtrl.cpp @@ -121,10 +121,10 @@ DefineEngineMethod( GuiMLTextCtrl, getText, const char*, (),, return( object->getTextContent() ); } -DefineEngineMethod( GuiMLTextCtrl, addText, void, ( const char* text, bool reformat),, +DefineEngineMethod( GuiMLTextCtrl, addText, void, ( const char* text, bool reformat), (true), "@brief Appends the text in the control with additional text. Also .\n\n" "@param text New text to append to the existing text.\n" - "@param reformat If true, the control will also be visually reset.\n" + "@param reformat If true, the control will also be visually reset (defaults to true).\n" "@tsexample\n" "// Define new text to add\n" "%text = \"New Text to Add\";\n\n"