mshtml: Replace long with LONG.

This are internal helper functions; the API functions that use them
already use LONG.
This commit is contained in:
Michael Stefaniuc 2009-06-03 09:44:46 +02:00 committed by Alexandre Julliard
parent 2b6c4c0be6
commit 2d83c1d7e3
1 changed files with 9 additions and 9 deletions

View File

@ -804,11 +804,11 @@ static WCHAR prev_char(HTMLTxtRange *This, const dompos_t *pos, dompos_t *new_po
return 0; 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) BOOL *bounded, dompos_t *new_pos)
{ {
dompos_t iter, tmp; dompos_t iter, tmp;
long ret = 0; LONG ret = 0;
WCHAR c; WCHAR c;
if(bounded) if(bounded)
@ -843,11 +843,11 @@ static long move_next_chars(long cnt, const dompos_t *pos, BOOL col, const dompo
return ret; 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) const dompos_t *bound_pos, BOOL *bounded, dompos_t *new_pos)
{ {
dompos_t iter, tmp; dompos_t iter, tmp;
long ret = 0; LONG ret = 0;
BOOL prev_eq = FALSE; BOOL prev_eq = FALSE;
WCHAR c; WCHAR c;
@ -882,7 +882,7 @@ static long move_prev_chars(HTMLTxtRange *This, long cnt, const dompos_t *pos, B
return ret; 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; dompos_t iter, tmp;
WCHAR c; WCHAR c;
@ -946,10 +946,10 @@ static int find_word_end(const dompos_t *pos, dompos_t *ret)
return cnt; 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; dompos_t iter, tmp;
long ret = 0; LONG ret = 0;
WCHAR c; WCHAR c;
c = get_pos_char(pos); 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; 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; dompos_t iter, tmp;
long ret = 0; LONG ret = 0;
iter = *pos; iter = *pos;
dompos_addref(&iter); dompos_addref(&iter);