#131 Linebreak (CR-LF) fixes for clipboard code

closed-accepted
None
5
2007-04-25
2007-04-15
No

Someone by the handle 'dumplogin' brought to my attention some problems we had in the xclip linebreak conversion code:
- In LF->CR-LF, we did double-conversion for linebreaks which are already CR-LF (-> CR-CR-LF)
- We didn't do CR-LF->LF for RDP->X11 in the Unicode clipboard case.

The attached patch fixes this.

Discussion

  • Peter Åstrand

    Peter Åstrand - 2007-04-25
    • assigned_to: nobody --> astrand
    • status: open --> closed-accepted
     
  • Peter Åstrand

    Peter Åstrand - 2007-04-25

    Logged In: YES
    user_id=344921
    Originator: NO

    Thanks. Patch applied in revision 1.46 of xclip.c.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks