CodeSnip Old Code (SVN)
A repository for source code snippets, designed with Pascal in mind.
Brought to you by:
delphidabbler
--- a/trunk/Src/UMessageBox.pas +++ b/trunk/Src/UMessageBox.pas @@ -513,8 +513,7 @@ depends on DlgType is used if no title is specified. } begin - Assert(Length(Buttons) > 0, - ClassName + '.Create: Buttons array is empty'); + Assert(Length(Buttons) > 0, ClassName + '.Create: Buttons array is empty'); Assert(Assigned(Text) and (Text.Count > 0), ClassName + '.Ctreate: No message text provided'); inherited CreateNew(Owner);