diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx index c55012734..6c7ebc084 100644 --- a/src/Fl_File_Chooser2.cxx +++ b/src/Fl_File_Chooser2.cxx @@ -1066,7 +1066,6 @@ Fl_File_Chooser::value(int f) // I - File number } // Strip trailing slash, if any... - strlcpy(pathname, name, sizeof(pathname)); slash = pathname + strlen(pathname) - 1; if (*slash == '/') *slash = '\0'; return pathname;