summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-03-16 01:15:39 +0000
committersabetts <sabetts>2006-03-16 01:15:39 +0000
commit2af887d39f6cba4cbbcaac8b51ffa773be809f23 (patch)
tree6a4f1fc8230e82e669fb011459c072b43b01fd3d /src/main.c
parent73a3c5a465dbe5df9bed5f163d2c105065b861f2 (diff)
downloadratpoison-2af887d39f6cba4cbbcaac8b51ffa773be809f23.zip
* src/main.c (clean_up): use list_size not rp_num_frame_undos
* src/globals.c: remove global var rp_num_frame_undos. All callers updated. * src/actions.c (push_frame_undo): use list_size, not rp_num_frame_undos (set_maxundos): likewise
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;