mshtml: Replace long with LONG.
This are internal helper functions; the API functions that use them already use LONG.
This commit is contained in:
parent
2b6c4c0be6
commit
2d83c1d7e3
|
@ -804,11 +804,11 @@ static WCHAR prev_char(HTMLTxtRange *This, const dompos_t *pos, dompos_t *new_po
|
|||
return 0;
|
||||
}
|
||||
|
||||
static long move_next_chars(long cnt, const dompos_t *pos, BOOL col, const dompos_t *bound_pos,
|
||||
static LONG move_next_chars(LONG cnt, const dompos_t *pos, BOOL col, const dompos_t *bound_pos,
|
||||
BOOL *bounded, dompos_t *new_pos)
|
||||
{
|
||||
dompos_t iter, tmp;
|
||||
long ret = 0;
|
||||
LONG ret = 0;
|
||||
WCHAR c;
|
||||
|
||||
if(bounded)
|
||||
|
@ -843,11 +843,11 @@ static long move_next_chars(long cnt, const dompos_t *pos, BOOL col, const dompo
|
|||
return ret;
|
||||
}
|
||||
|
||||
static long move_prev_chars(HTMLTxtRange *This, long cnt, const dompos_t *pos, BOOL end,
|
||||
static LONG move_prev_chars(HTMLTxtRange *This, LONG cnt, const dompos_t *pos, BOOL end,
|
||||
const dompos_t *bound_pos, BOOL *bounded, dompos_t *new_pos)
|
||||
{
|
||||
dompos_t iter, tmp;
|
||||
long ret = 0;
|
||||
LONG ret = 0;
|
||||
BOOL prev_eq = FALSE;
|
||||
WCHAR c;
|
||||
|
||||
|
@ -882,7 +882,7 @@ static long move_prev_chars(HTMLTxtRange *This, long cnt, const dompos_t *pos, B
|
|||
return ret;
|
||||
}
|
||||
|
||||
static long find_prev_space(HTMLTxtRange *This, const dompos_t *pos, BOOL first_space, dompos_t *ret)
|
||||
static LONG find_prev_space(HTMLTxtRange *This, const dompos_t *pos, BOOL first_space, dompos_t *ret)
|
||||
{
|
||||
dompos_t iter, tmp;
|
||||
WCHAR c;
|
||||
|
@ -946,10 +946,10 @@ static int find_word_end(const dompos_t *pos, dompos_t *ret)
|
|||
return cnt;
|
||||
}
|
||||
|
||||
static long move_next_words(long cnt, const dompos_t *pos, dompos_t *new_pos)
|
||||
static LONG move_next_words(LONG cnt, const dompos_t *pos, dompos_t *new_pos)
|
||||
{
|
||||
dompos_t iter, tmp;
|
||||
long ret = 0;
|
||||
LONG ret = 0;
|
||||
WCHAR c;
|
||||
|
||||
c = get_pos_char(pos);
|
||||
|
@ -974,10 +974,10 @@ static long move_next_words(long cnt, const dompos_t *pos, dompos_t *new_pos)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static long move_prev_words(HTMLTxtRange *This, long cnt, const dompos_t *pos, dompos_t *new_pos)
|
||||
static LONG move_prev_words(HTMLTxtRange *This, LONG cnt, const dompos_t *pos, dompos_t *new_pos)
|
||||
{
|
||||
dompos_t iter, tmp;
|
||||
long ret = 0;
|
||||
LONG ret = 0;
|
||||
|
||||
iter = *pos;
|
||||
dompos_addref(&iter);
|
||||
|
|
Loading…
Reference in New Issue