aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ring.h')
-rw-r--r--src/ring.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ring.h b/src/ring.h
index 0aa12f0..d2e9d7b 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -143,8 +143,7 @@ extern class Ring {
: UndoToken(), ring(_ring), buffer(_buffer) {}
~UndoTokenEdit()
{
- if (buffer)
- delete buffer;
+ delete buffer;
}
void run(void);