[ros-bugs] [Bug 896] New: richedit's EM_LINELENGTH wrong

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Wed Oct 12 01:44:49 CEST 2005


http://www.reactos.org/bugzilla/show_bug.cgi?id=896

           Summary: richedit's EM_LINELENGTH wrong
           Product: ReactOS
           Version: unspecified
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Win32
        AssignedTo: ros-bugs at reactos.com
        ReportedBy: mrnobo1024 at yahoo.com
         QAContact: ros-bugs at reactos.com


richedit's handler for EM_LINELENGTH incorrectly counts a \r\n as part of the
line, so the length is off by 2. On the last line, the length is also off by 1.
So for example, if a richedit has the string "a\r\nbb\r\nccc", windows gives the
line lengths as 1,1,1,2,2,2,3,3,3,3 but ReactOS gives 3,3,4,4,4,4,4,4,4,4,4.

-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.


More information about the Ros-bugs mailing list