diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-23 03:27:44 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-11-23 03:27:44 +0100 |
commit | 62aa39099e0b1f8e4d86ff9239c8f52ad017ab54 (patch) | |
tree | 945b901a7e26d7b58a4dd2b7250fd54dc6b740e9 /src/main.c | |
parent | 47b4beb0009cb886ef83afb4f015eb79b48475e7 (diff) | |
download | ratpoison-62aa39099e0b1f8e4d86ff9239c8f52ad017ab54.zip |
Keep frame undo/redo local to actions.c
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -838,13 +838,7 @@ clean_up (void) free (screens); /* Delete the undo histories */ - while (list_size (&rp_frame_undos) > 0) - { - /* Delete the oldest node */ - rp_frame_undo *cur; - list_last (cur, &rp_frame_undos, node); - del_frame_undo (cur); - } + clear_frame_undos (); /* Free the global frame numset shared by all screens. */ numset_free (rp_frame_numset); |