Module: wine Branch: master Commit: 6a7db8967ff9f6e4db1333cb054295da87609909 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a7db8967ff9f6e4db1333cb05...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Apr 23 12:58:08 2013 +0200
mshtml: Use nsAString_InitDepend in SetDesignMode call.
---
dlls/mshtml/htmlwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index 113f33a..ccb2a56 100644 --- a/dlls/mshtml/htmlwindow.c +++ b/dlls/mshtml/htmlwindow.c @@ -2949,7 +2949,7 @@ HRESULT update_window_doc(HTMLInnerWindow *window)
static const PRUnichar onW[] = {'o','n',0};
- nsAString_Init(&mode_str, onW); + nsAString_InitDepend(&mode_str, onW); nsres = nsIDOMHTMLDocument_SetDesignMode(window->doc->nsdoc, &mode_str); nsAString_Finish(&mode_str); if(NS_FAILED(nsres))