Fix typo in function name in editor.

This commit is contained in:
Matthias Melcher 2024-02-06 22:00:11 +01:00
parent 78ae78b118
commit f0c1eff069
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}