Module: wine Branch: master Commit: facf47537cf617653a4e9c990d457bf7fd99c552 URL: http://source.winehq.org/git/wine.git/?a=commit;h=facf47537cf617653a4e9c990d...
Author: Jacek Caban jacek@codeweavers.com Date: Sat Feb 10 19:04:32 2007 +0100
mshtml: Use wine_url in GetSpec if possible.
---
dlls/mshtml/nsio.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index fdfe323..6bf8649 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -1157,9 +1157,6 @@ static nsresult NSAPI nsURI_GetSpec(nsIWineURI *iface, nsACString *aSpec)
TRACE("(%p)->(%p)\n", This, aSpec);
- if(This->uri) - return nsIURI_GetSpec(This->uri, aSpec); - if(This->use_wine_url) { char speca[INTERNET_MAX_URL_LENGTH]; WideCharToMultiByte(CP_ACP, 0, This->wine_url, -1, speca, sizeof(speca), NULL, NULL); @@ -1168,6 +1165,9 @@ static nsresult NSAPI nsURI_GetSpec(nsIWineURI *iface, nsACString *aSpec) return NS_OK; }
+ if(This->uri) + return nsIURI_GetSpec(This->uri, aSpec); + TRACE("returning error\n"); return NS_ERROR_NOT_IMPLEMENTED;