Infinite undo: fix compiler warning

This commit is contained in:
Matthias Melcher 2023-02-10 17:21:47 +01:00
parent 7f87c847ba
commit d9b519f969

View File

@ -168,10 +168,10 @@ public:
Fl_Text_Undo_Action* pop() {
if (list_size_ > 0) {
Fl_Text_Undo_Action *action = list_[list_size_-1];
return list_[--list_size_];
} else
} else {
return NULL;
}
}
void clear() {