http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793b021
)
mshtml: Return true spec in nsIURI::GetSpec.
author
Jacek Caban
<jacek@codeweavers.com>
Wed, 18 Aug 2010 11:38:07 +0000
(13:38 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 18 Aug 2010 13:32:36 +0000
(15:32 +0200)
dlls/mshtml/nsio.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/mshtml/nsio.c
b/dlls/mshtml/nsio.c
index d7b09896baab158843c4a06d4e4b6cb5271d7732..5332a0207dfe4183466fbe72e0f0b982952f2ea0 100644
(file)
--- a/
dlls/mshtml/nsio.c
+++ b/
dlls/mshtml/nsio.c
@@
-1575,8
+1575,8
@@
static nsresult NSAPI nsURI_GetSpec(nsIURL *iface, nsACString *aSpec)
TRACE("(%p)->(%p)\n", This, aSpec);
if(This->use_wine_url) {
- char speca[INTERNET_MAX_URL_LENGTH]
= "wine:"
;
- WideCharToMultiByte(CP_ACP, 0, This->wine_url, -1, speca
+5, sizeof(speca)-5
, NULL, NULL);
+ char speca[INTERNET_MAX_URL_LENGTH];
+ WideCharToMultiByte(CP_ACP, 0, This->wine_url, -1, speca
, sizeof(speca)
, NULL, NULL);
nsACString_SetData(aSpec, speca);
return NS_OK;