Ignore:
Timestamp:
Jul 21, 2019, 2:27:40 AM (6 years ago)
Author:
ataylor
Message:

Fix crash when dragging text with MB2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Components/RichTextDocumentUnit.pas

    r423 r438  
    842842  end;
    843843
    844   Q[ 0 ] := #0;         // ALT - make sure string is terminated
     844  if Buffer <> nil then
     845    Q[ 0 ] := #0;         // ALT - make sure string is terminated
    845846
    846847  result := PCharDiff( Q, Buffer );
Note: See TracChangeset for help on using the changeset viewer.