summaryrefslogtreecommitdiffstats
path: root/src/undo.c
diff options
context:
space:
mode:
authormongo <andmarti@gmail.com>2017-03-21 10:19:03 -0300
committermongo <andmarti@gmail.com>2017-03-21 10:19:03 -0300
commit6a61c9d76620c1023b3aeab1279fa6955fd2e681 (patch)
tree76396f2dcde1116863b6ad672775dda97097a1e1 /src/undo.c
parentcd865bbe9d414ff61913625df65aadc6bbe84f4e (diff)
Changes for issue #158
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/undo.c b/src/undo.c
index 76cbe54..5902143 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -410,7 +410,7 @@ void undo_hide_show(int row, int col, char type, int arg) {
// 'ent' elements from 'removed' and remove those from 'added'
void do_undo() {
if (undo_list == NULL || undo_list_pos == 0) {
- sc_error("Not UNDO's left");
+ sc_error("No UNDO's left");
return;
}
//sc_info("%d %d", undo_list_pos, len_undo_list());
@@ -558,7 +558,7 @@ void do_undo() {
// 'ent' elements from 'added' and remove those from 'removed'
void do_redo() {
if ( undo_list == NULL || undo_list_pos == len_undo_list() ) {
- sc_error("Not REDO's left");
+ sc_error("No REDO's left");
return;
}
//sc_info("%d %d", undo_list_pos, len_undo_list());