X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d257b8db10b5f464d896ff0d4249237d8f587a1..6945b5878c8d46a56f1a59f558837a0943492f3c:/src/gtk/dataobj.cpp?ds=sidebyside diff --git a/src/gtk/dataobj.cpp b/src/gtk/dataobj.cpp index e8c5f3d622..5e185aba84 100644 --- a/src/gtk/dataobj.cpp +++ b/src/gtk/dataobj.cpp @@ -280,9 +280,9 @@ bool wxFileDataObject::SetData(size_t WXUNUSED(size), const void *buf) AddFile(wxURI::Unescape(filename.c_str() + lenPrefix)); filename.Empty(); } - else + else if ( !filename.empty() ) { - wxLogDebug(_T("Unsupported URI '%s' in wxFileDataObject"), + wxLogDebug(_T("Unsupported URI \"%s\" in wxFileDataObject"), filename.c_str()); }