[Bug 2679] Backspace and cursors do not work

Wine Bugs wine-bugs at winehq.org
Thu Jan 27 20:00:47 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=2679


helly at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |




------- Additional Comments From helly at gmx.net  2005-27-01 20:00 -------
I just took a look at the current CVS (using cvsweb).

-----------------------------------

/***********************************************************************
 *           CharPrevA   (USER32.@)
 */
LPSTR WINAPI CharPrevA( LPCSTR start, LPCSTR ptr )
{
    while (*start && (start < ptr))
    {
        LPCSTR next = CharNextA( start );
        if (next >= ptr) break;
        start = next;
    }
    return (LPSTR)start;
}


/***********************************************************************
 *           CharPrevExA   (USER32.@)
 */
LPSTR WINAPI CharPrevExA( WORD codepage, LPCSTR start, LPCSTR ptr, DWORD flags )
{
    while (*start && (start < ptr))
    {
        LPCSTR next = CharNextExA( codepage, start, flags );
        if (next > ptr) break;
        start = next;
    }
    return (LPSTR)start;
}

-----------------------------------

The bug is not present in CharPrevA(), but in CharPrevExA().

Next time I will take a look at the wine-head first ;-).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list