summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-03 17:10:40 -0500
committerpommicket <pommicket@gmail.com>2023-01-03 17:10:40 -0500
commit0d92c03f3998fe4d16f3ba928d3a94583755e1ce (patch)
treea2afad849822433ea795ce6bc216321722e754f2 /build.c
parentbaae904ed2c97ba5c701442ec5ef6900715f785d (diff)
rename ted_seterr to ted_error
Diffstat (limited to 'build.c')
-rw-r--r--build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.c b/build.c
index 110a3c0..0a40df8 100644
--- a/build.c
+++ b/build.c
@@ -52,7 +52,7 @@ static bool build_run_next_command_in_queue(Ted *ted) {
free(command);
return true;
} else {
- ted_seterr(ted, "Couldn't start build: %s", error);
+ ted_error(ted, "Couldn't start build: %s", error);
build_stop(ted);
return false;
}
@@ -253,7 +253,7 @@ void build_frame(Ted *ted, float x1, float y1, float x2, float y2) {
i64 bytes_read = (i64)process_read(process, buf + 3, sizeof buf - 3);
if (bytes_read == -2) {
- ted_seterr(ted, "Error reading command output: %s.", process_geterr(process));
+ ted_error(ted, "Error reading command output: %s.", process_geterr(process));
build_stop(ted);
break;
} else if (bytes_read == -1) {