Module: wine Branch: master Commit: d1e49da2f5e99ccbdf87e4992b14c47ea07ad70f URL: http://source.winehq.org/git/wine.git/?a=commit;h=d1e49da2f5e99ccbdf87e4992b...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Oct 27 13:08:11 2011 +0200
mshtml: Reimplement nsIURL::GetFileExtension on top of IUri API.
---
dlls/mshtml/nsio.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index 0571659..f127bbc 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -2492,11 +2492,7 @@ static nsresult NSAPI nsURL_GetFileExtension(nsIURL *iface, nsACString *aFileExt
TRACE("(%p)->(%p)\n", This, aFileExtension);
- if(This->nsurl) - return nsIURL_GetFileExtension(This->nsurl, aFileExtension); - - FIXME("default action not implemented\n"); - return NS_ERROR_NOT_IMPLEMENTED; + return get_uri_string(This, Uri_PROPERTY_EXTENSION, aFileExtension); }
static nsresult NSAPI nsURL_SetFileExtension(nsIURL *iface, const nsACString *aFileExtension)