summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp')
-rw-r--r--Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp b/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
index 8a0d3d2b6..e96fb2ba7 100644
--- a/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
+++ b/Source/WebCore/platform/wince/MIMETypeRegistryWinCE.cpp
@@ -101,8 +101,8 @@ String MIMETypeRegistry::getPreferredExtensionForMIMEType(const String& type)
initMIMETypeEntensionMap();
for (HashMap<String, String>::iterator i = mimetypeMap.begin(); i != mimetypeMap.end(); ++i) {
- if (equalIgnoringCase(i->second, type))
- return i->first;
+ if (equalIgnoringCase(i->value, type))
+ return i->key;
}
return String();