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:
158f5be
)
mshtml: Fix off by one error in setting status text.
author
Juan Lang
<juan.lang@gmail.com>
Thu, 19 Aug 2010 18:25:46 +0000
(11:25 -0700)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 20 Aug 2010 11:21:28 +0000
(13:21 +0200)
dlls/mshtml/main.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/mshtml/main.c
b/dlls/mshtml/main.c
index d61c1f49c8defea8d8a47793e1c8647cbb87fcfb..4aef47571893e0067041f0874b4f277d9798cbf1 100644
(file)
--- a/
dlls/mshtml/main.c
+++ b/
dlls/mshtml/main.c
@@
-114,7
+114,7
@@
void set_statustext(HTMLDocumentObj* doc, INT id, LPCWSTR arg)
DWORD len = lstrlenW(p) + lstrlenW(arg) - 1;
LPWSTR buf = heap_alloc(len * sizeof(WCHAR));
- snprintfW(buf, len
- 1
, p, arg);
+ snprintfW(buf, len, p, arg);
p = buf;
}