• Dylan Smith's avatar
    richedit: Got rid of ME_GetCharFwd and ME_GetCharBack. · 1eb0f73a
    Dylan Smith authored
    These two functions were being used for simple operations, to get the
    first or last character when pre-computing flags for splitting runs.
    
    The call to ME_GetCharBack wasn't even giving the correct result, it
    would always return -1 since it is being called with nPos of 0.
    
    This patch simplifies the code by removing the functions and getting the
    characters directly from the string.
    1eb0f73a
run.c 29.5 KB