diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index c90e5a337..3c11939f4 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -405,7 +405,7 @@ const char *UndoHistory::AppendAction(ActionType at, Sci::Position position, con } else if (detach && (*detach > currentAction)) { detach = currentAction; } - int oldCurrentAction = currentAction; + const int oldCurrentAction = currentAction; if (currentAction >= 1) { if (0 == undoSequenceDepth) { // Top level actions may not always be coalesced |