mirror of https://github.com/fltk/fltk
Fix typo in function name in editor.
This commit is contained in:
parent
78ae78b118
commit
f0c1eff069
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue