mshtml: Initialize variables in a couple structs.

This commit is contained in:
Zac Brown 2008-06-23 17:41:18 -07:00 committed by Alexandre Julliard
parent dd01d39f3b
commit 332733a43b
1 changed files with 2 additions and 0 deletions

View File

@ -611,6 +611,7 @@ static WCHAR next_char(const dompos_t *pos, dompos_t *new_pos)
case TEXT_NODE:
tmp_pos.node = iter;
tmp_pos.type = TEXT_NODE;
tmp_pos.off = 0;
dompos_addref(&tmp_pos);
p = tmp_pos.p;
@ -726,6 +727,7 @@ static WCHAR prev_char(HTMLTxtRange *This, const dompos_t *pos, dompos_t *new_po
tmp_pos.node = iter;
tmp_pos.type = TEXT_NODE;
tmp_pos.off = 0;
dompos_addref(&tmp_pos);
p = tmp_pos.p + strlenW(tmp_pos.p)-1;