mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 14:59:47 +03:00
Fix reading of clipboard
This commit is contained in:
parent
6e4c82265c
commit
3269333658
@ -175,9 +175,9 @@ char *ami_clipboard_cat_collection(struct CollectionItem *ci, LONG codeset, size
|
||||
p = text + len;
|
||||
|
||||
if(ci_new) {
|
||||
ci_curr = ci;
|
||||
} else {
|
||||
ci_curr = ci_new;
|
||||
} else {
|
||||
ci_curr = ci;
|
||||
}
|
||||
|
||||
do {
|
||||
@ -209,6 +209,7 @@ void gui_get_clipboard(char **buffer, size_t *length)
|
||||
if(CollectionChunk(iffh,ID_FTXT,ID_CHRS)) return;
|
||||
if(PropChunk(iffh,ID_FTXT,ID_CSET)) return;
|
||||
if(CollectionChunk(iffh,ID_FTXT,ID_UTF8)) return;
|
||||
if(StopOnExit(iffh, ID_FTXT, ID_FORM)) return;
|
||||
|
||||
error = ParseIFF(iffh,IFFPARSE_SCAN);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user