summaryrefslogtreecommitdiff
path: root/page.c
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-04-01 09:36:57 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-04-01 09:36:57 -0300
commit46255e41ee25f3590855cf94dd62b31d5f5d6387 (patch)
tree26f7c3e46b143725fbc350cd3b455d72b0ae17d8 /page.c
parent8f45be3b0ddab6e6fd6ce8aed99e921871e9961b (diff)
downloadjet-46255e41ee25f3590855cf94dd62b31d5f5d6387.tar.gz
jet-46255e41ee25f3590855cf94dd62b31d5f5d6387.zip
Change erase_from_page to delete_from_page
Diffstat (limited to 'page.c')
-rw-r--r--page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/page.c b/page.c
index a8407d3..b4ba72c 100644
--- a/page.c
+++ b/page.c
@@ -74,7 +74,7 @@ void insert_into_page(struct page *page, uint8_t c) {
}
}
-void erase_from_page(struct page *page) {
+void delete_from_page(struct page *page) {
if (page->gap_start != page->buffer) {
page->gap_start--;
}