On Wed, Sep 17, 2014 at 09:27:18AM +0100, Huw Davies wrote:
On Tue, Sep 16, 2014 at 06:39:32PM +0800, Jactry Zeng wrote:
+static HRESULT range_Collapse(LONG bStart, LONG *start, LONG *end) +{
- BOOL isdege = !(*end - *start);
This is a strange way to test for an equality!
Also, isdegen or is_degen would be much better choices for the variable name.
Or even better, get rid of the variable completely
if (*start == *end) return S_FALSE;
Huw.