summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-02 14:25:30 -0500
committerpommicket <pommicket@gmail.com>2023-01-02 14:25:30 -0500
commitfd866bf94487ee39cccdaea749407faa487fcee5 (patch)
tree2ac9ef9d1d79c3ee0852479791c92337ba4ba053 /ted.c
parent9278c63caff34a8c264416705a5658ee0b5210ef (diff)
Status => bool on a few functions
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ted.c b/ted.c
index 627f413..840244d 100644
--- a/ted.c
+++ b/ted.c
@@ -377,7 +377,7 @@ TextBuffer *ted_get_buffer_with_file(Ted *ted, const char *path) {
return NULL;
}
-Status ted_open_file(Ted *ted, const char *filename) {
+bool ted_open_file(Ted *ted, const char *filename) {
char path[TED_PATH_MAX];
ted_path_full(ted, filename, path, sizeof path);
@@ -408,7 +408,7 @@ Status ted_open_file(Ted *ted, const char *filename) {
}
}
-Status ted_new_file(Ted *ted, const char *filename) {
+bool ted_new_file(Ted *ted, const char *filename) {
u16 buffer_idx, tab_idx;
char path[TED_PATH_MAX];
if (filename)
@@ -432,7 +432,7 @@ Status ted_new_file(Ted *ted, const char *filename) {
}
-Status ted_save_all(Ted *ted) {
+bool ted_save_all(Ted *ted) {
bool success = true;
bool *buffers_used = ted->buffers_used;
for (u16 i = 0; i < TED_MAX_BUFFERS; ++i) {