Michael Stefaniuc : mshtml: Replace long with LONG.
Alexandre Julliard
julliard at winehq.org
Wed Jun 3 09:31:14 CDT 2009
Module: wine
Branch: master
Commit: 2d83c1d7e35710f950bd8043687de3400bd2ef12
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2d83c1d7e35710f950bd8043687de3400bd2ef12
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Jun 3 09:44:46 2009 +0200
mshtml: Replace long with LONG.
This are internal helper functions; the API functions that use them
already use LONG.
---
dlls/mshtml/txtrange.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/mshtml/txtrange.c b/dlls/mshtml/txtrange.c
index fd00f85..509d938 100644
--- a/dlls/mshtml/txtrange.c
+++ b/dlls/mshtml/txtrange.c
@@ -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);
More information about the wine-cvs
mailing list