summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-27 17:45:04 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-27 17:45:04 -0500
commit4554db338221f8fd1c7b4855b8d5bc50780815d2 (patch)
tree330e1f1130c758190c68830d7367927e9b9035a4 /buffer.c
parentf02fa3b6e1f6c3b1c1325b999f101b5ca6e02558 (diff)
more warn overwrite
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 3a808c7..2f656e7 100644
--- a/buffer.c
+++ b/buffer.c
@@ -656,7 +656,7 @@ bool buffer_save(TextBuffer *buffer) {
}
return success;
} else {
- buffer_seterr(buffer, "Couldn't create file %s.", buffer->filename);
+ buffer_seterr(buffer, "Couldn't write to file %s.", buffer->filename);
return false;
}
} else {