Menu

#516 TCoolTextWnd::TTextSelection::TextToClipboard doesn't consider sizeof(tchar)

8
pending
1
2026-03-31
2022-01-12
No

In "cooledit.cpp", the function TCoolTextWnd::TTextSelection::TextToClipboard receives a LPCTSTR text, which in UNICODE points to a w_char array, but when allocating and copying it assumes the width of char.

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 2022-01-12

    This issue was fixed on the trunk in [r5729].

     

    Related

    Commit: [r5729]

  • Vidar Hasfjord

    Vidar Hasfjord - 2023-09-10

    The TextToClipboard and other copy-and-paste functionality has been mostly rewritten in modern style in [r6548] as part of fixing [bugs:#551]. See CoolPrj code log for recent changes.

     

    Related

    Bugs: #551
    Commit: [r6548]

  • Vidar Hasfjord

    Vidar Hasfjord - 2023-09-10
    • status: open --> pending
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2025-10-04
    • Status: pending --> closed
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2026-03-31
    • Status: closed --> pending
     

Log in to post a comment.

MongoDB Logo MongoDB