Hi Dillo devs!
Here is just a small bug fix for the Cipboard copy function. The 3rd argument
passed for the Fl::copy() function should be 1 (not 0) for it to copy the input
text to the clipboard buffer.
This issue is found at line 702 of file dillo/dw/fltkplatform.cc:
[code]
void FltkPlatform::copySelection(const char *text)
{
Fl::copy(text, strlen(text), 0); // wrong
}
[/code]
Change it to:
[code]
void FltkPlatform::copySelection(const char *text)
{
Fl::copy(text, strlen(text), 1);
}
[/code]
Ref:
FLTK Documentation:
https://www.fltk.org/doc-1.3/group__fl__clipboard.html#ga221bc2fa9bd737a8259a94a06f8005f0
_______________________________________________
Dillo-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]