summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4d9a8ba..c3732e3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -740,7 +740,7 @@ clean_up ()
free (screens);
/* Delete the undo histories */
- while (rp_num_frame_undos > 0)
+ while (list_size (&rp_frame_undos) > 0)
{
/* Delete the oldest node */
rp_frame_undo *cur;