summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-02-06 22:00:11 +0100
committerMatthias Melcher <github@matthiasm.com>2024-02-06 22:00:11 +0100
commitf0c1eff069426a83f24e2a361c898c7ca15df848 (patch)
tree1836e931a1d76dcb3ee935bc4e1278b4e7616f5b
parent78ae78b11885874c9d2518e0e75deb25b55a7ff6 (diff)
Fix typo in function name in editor.
-rw-r--r--test/editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/editor.cxx b/test/editor.cxx
index 57807cbd0..a7618d15a 100644
--- a/test/editor.cxx
+++ b/test/editor.cxx
@@ -80,7 +80,7 @@ void set_changed(bool v) {
void set_filename(const char *new_filename) {
if (new_filename) {
- strlcpy(app_filename, new_filename, FL_PATH_MAX);
+ strncpy(app_filename, new_filename, FL_PATH_MAX);
} else {
app_filename[0] = 0;
}