Add check useful with macOS 10.15 public beta (Catalina).
This commit is contained in:
parent
7e656413ff
commit
1b77967823
@ -410,7 +410,7 @@ int Fl_Quartz_Native_File_Chooser_Driver::get_saveas_basename(void) {
|
||||
if (strcmp(d, "/") == 0) l = 1;
|
||||
int lu = strlen(UNLIKELYPREFIX);
|
||||
// Remove UNLIKELYPREFIX between directory and filename parts
|
||||
memmove(q + l, q + l + lu, strlen(q + l + lu) + 1);
|
||||
if (memcmp(q+l, UNLIKELYPREFIX, lu) == 0) memmove(q + l, q + l + lu, strlen(q + l + lu) + 1);
|
||||
}
|
||||
set_single_pathname( q );
|
||||
free(q);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user