diff options
author | nyamatongwe <unknown> | 2013-05-03 13:50:45 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-05-03 13:50:45 +1000 |
commit | e4cfb287a2b9f8a283f5347a262efd95c88014d1 (patch) | |
tree | 84bcb791864bc7f0faf70df267bf40e0f4a79ed6 /src/CellBuffer.h | |
parent | 516c6ae7a1ce3fbef7e6dca0f81d5273e7cde668 (diff) | |
download | scintilla-mirror-e4cfb287a2b9f8a283f5347a262efd95c88014d1.tar.gz |
Moved allocation of data owned by Action into Action::Create.
Made more variables const.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h index cde6f5a1a..6fe698e13 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -80,7 +80,7 @@ public: Action(); ~Action(); - void Create(actionType at_, int position_=0, char *data_=0, int lenData_=0, bool mayCoalesce_=true); + void Create(actionType at_, int position_=0, const char *data_=0, int lenData_=0, bool mayCoalesce_=true); void Destroy(); void Grab(Action *source); }; @@ -105,7 +105,7 @@ public: UndoHistory(); ~UndoHistory(); - void AppendAction(actionType at, int position, char *data, int length, bool &startSequence, bool mayCoalesce=true); + void AppendAction(actionType at, int position, const char *data, int length, bool &startSequence, bool mayCoalesce=true); void BeginUndoAction(); void EndUndoAction(); |