summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-03 10:50:44 +0000
committerMoonchild <moonchild@palemoon.org>2020-06-03 10:50:44 +0000
commit5e5f2277f5e6700325618adae685c55716f325c7 (patch)
treef2cf502f4b9404f823520ea870180e64babb3751 /widget
parent744b044935f7d1d67fbe0df42d898efcbdd00536 (diff)
parent265d1b80197afa05aa9099b49d625958177752df (diff)
downloadUXP-5e5f2277f5e6700325618adae685c55716f325c7.tar
UXP-5e5f2277f5e6700325618adae685c55716f325c7.tar.gz
UXP-5e5f2277f5e6700325618adae685c55716f325c7.tar.lz
UXP-5e5f2277f5e6700325618adae685c55716f325c7.tar.xz
UXP-5e5f2277f5e6700325618adae685c55716f325c7.zip
Merge branch 'redwood' into release
Diffstat (limited to 'widget')
-rw-r--r--widget/windows/nsDataObj.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/widget/windows/nsDataObj.cpp b/widget/windows/nsDataObj.cpp
index a19dcb182..80abf3521 100644
--- a/widget/windows/nsDataObj.cpp
+++ b/widget/windows/nsDataObj.cpp
@@ -1168,14 +1168,14 @@ nsDataObj :: GetFileDescriptorInternetShortcutA ( FORMATETC& aFE, STGMEDIUM& aST
}
// get a valid filename in the following order: 1) from the page title,
- // 2) localized string for an untitled page, 3) just use "Untitled.URL"
- if (!CreateFilenameFromTextA(title, ".URL",
+ // 2) localized string for an untitled page, 3) just use "Untitled.url"
+ if (!CreateFilenameFromTextA(title, ".url",
fileGroupDescA->fgd[0].cFileName, NS_MAX_FILEDESCRIPTOR)) {
nsXPIDLString untitled;
if (!GetLocalizedString(u"noPageTitle", untitled) ||
- !CreateFilenameFromTextA(untitled, ".URL",
+ !CreateFilenameFromTextA(untitled, ".url",
fileGroupDescA->fgd[0].cFileName, NS_MAX_FILEDESCRIPTOR)) {
- strcpy(fileGroupDescA->fgd[0].cFileName, "Untitled.URL");
+ strcpy(fileGroupDescA->fgd[0].cFileName, "Untitled.url");
}
}
@@ -1209,14 +1209,14 @@ nsDataObj :: GetFileDescriptorInternetShortcutW ( FORMATETC& aFE, STGMEDIUM& aST
}
// get a valid filename in the following order: 1) from the page title,
- // 2) localized string for an untitled page, 3) just use "Untitled.URL"
- if (!CreateFilenameFromTextW(title, L".URL",
+ // 2) localized string for an untitled page, 3) just use "Untitled.url"
+ if (!CreateFilenameFromTextW(title, L".url",
fileGroupDescW->fgd[0].cFileName, NS_MAX_FILEDESCRIPTOR)) {
nsXPIDLString untitled;
if (!GetLocalizedString(u"noPageTitle", untitled) ||
- !CreateFilenameFromTextW(untitled, L".URL",
+ !CreateFilenameFromTextW(untitled, L".url",
fileGroupDescW->fgd[0].cFileName, NS_MAX_FILEDESCRIPTOR)) {
- wcscpy(fileGroupDescW->fgd[0].cFileName, L"Untitled.URL");
+ wcscpy(fileGroupDescW->fgd[0].cFileName, L"Untitled.url");
}
}