mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 13:55:38 +08:00
Fix typo in function name in editor.
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ void set_changed(bool v) {
|
|||||||
|
|
||||||
void set_filename(const char *new_filename) {
|
void set_filename(const char *new_filename) {
|
||||||
if (new_filename) {
|
if (new_filename) {
|
||||||
strlcpy(app_filename, new_filename, FL_PATH_MAX);
|
strncpy(app_filename, new_filename, FL_PATH_MAX);
|
||||||
} else {
|
} else {
|
||||||
app_filename[0] = 0;
|
app_filename[0] = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user