Use helper methods where possible, and leave GUI stuff in form units.

This commit is contained in:
Ansgar Becker
2009-04-28 22:35:00 +00:00
parent 8610147eaa
commit eadeed1ae2
5 changed files with 12 additions and 15 deletions

View File

@ -5479,7 +5479,7 @@ begin
if ScanNulChar(filecontent) then begin
filecontent := RemoveNulChars(filecontent);
MessageDlg('This file contains NUL characters. They have been converted to ASCII spaces (SP).', mtInformation, [mbOK], 0);
MessageDlg(SContainsNulCharFile, mtInformation, [mbOK], 0);
end;
SynMemoQuery.BeginUpdate;