diff options
author | pommicket <pommicket@gmail.com> | 2023-01-03 17:10:40 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-03 17:10:40 -0500 |
commit | 0d92c03f3998fe4d16f3ba928d3a94583755e1ce (patch) | |
tree | a2afad849822433ea795ce6bc216321722e754f2 /build.c | |
parent | baae904ed2c97ba5c701442ec5ef6900715f785d (diff) |
rename ted_seterr to ted_error
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |