[Bug 2679] New: Backspace and cursors do not work

Wine Bugs wine-bugs at winehq.org
Thu Jan 27 19:32:05 CST 2005


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

           Summary: Backspace and cursors do not work
           Product: Wine
           Version: CVS
          Platform: PC
               URL: http://www.winehq.org/appview.php?appid=701
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-user
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: helly at gmx.net


When using backspace or cursor-keys, nothing happens. This is caused by a faulty
implementation of CharPrevExA() in wine's user32-implementation. It always
returns the pointer, which is given as ending point, whereas it should return a
pointer to the previous letter.
This can be resolved by changing the if-clause from 
if(next > ptr) break;
to
if(next >= ptr) break;

for my version (cvs cedega) this is in line 223 in file lstr.c

-- 
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