diff options
Diffstat (limited to 'Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp')
-rw-r--r-- | Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp b/Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp index 513992d..33d8ccd 100644 --- a/Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp +++ b/Source/WebCore/platform/win/ClipboardUtilitiesWin.cpp @@ -130,7 +130,7 @@ static bool getWebLocData(const DragDataMap* dataObject, String& url, String* ti if (!dataObject->contains(cfHDropFormat()->cfFormat)) return false; - wcscpy(filename, dataObject->get(cfHDropFormat()->cfFormat)[0].characters()); + wcscpy(filename, dataObject->get(cfHDropFormat()->cfFormat)[0].charactersWithNullTermination()); if (_wcsicmp(PathFindExtensionW(filename), L".url")) return false; |