Add ipp, ldap, mailto, news, and smb schemes.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2006-01-05 00:14:17 +00:00
parent 11040f3094
commit e0a8bd61e7

View File

@ -135,7 +135,12 @@ int Fl::dnd() {
if ((!strncmp(fl_selection_buffer[0], "file:///", 8) ||
!strncmp(fl_selection_buffer[0], "ftp://", 6) ||
!strncmp(fl_selection_buffer[0], "http://", 7) ||
!strncmp(fl_selection_buffer[0], "https://", 8)) &&
!strncmp(fl_selection_buffer[0], "https://", 8) ||
!strncmp(fl_selection_buffer[0], "ipp://", 6) ||
!strncmp(fl_selection_buffer[0], "ldap:", 5) ||
!strncmp(fl_selection_buffer[0], "mailto:", 7) ||
!strncmp(fl_selection_buffer[0], "news:", 5) ||
!strncmp(fl_selection_buffer[0], "smb://", 6)) &&
!strchr(fl_selection_buffer[0], ' ') &&
strstr(fl_selection_buffer[0], "\r\n")) {
// Send file/URI list...