summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-01-09 01:37:11 +0100
committerOle Loots <ole@monochrom.net>2013-01-09 01:37:11 +0100
commitf1fe8350a85e01c9d9eef43d6ba2aecdd4794dc1 (patch)
tree5a3210387317af535dc552606eb2d33da5d64dc3
parent64f8030b28dfc75052edf8e5131320a5ae8a8801 (diff)
downloadnetsurf-f1fe8350a85e01c9d9eef43d6ba2aecdd4794dc1.tar.gz
netsurf-f1fe8350a85e01c9d9eef43d6ba2aecdd4794dc1.tar.bz2
Removed windom variable from clipboard functions.
-rwxr-xr-xatari/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/atari/gui.c b/atari/gui.c
index f04c4fc5e..19ae6505e 100755
--- a/atari/gui.c
+++ b/atari/gui.c
@@ -628,7 +628,7 @@ void gui_get_clipboard(char **buffer, size_t *length)
*length = 0;
*buffer = 0;
- clip = scrap_txt_read(&app);
+ clip = scrap_txt_read();
if(clip == NULL){
return;
@@ -675,7 +675,7 @@ void gui_set_clipboard(const char *buffer, size_t length,
ret = utf8_to_local_encoding(buffer,length, &clip);
if (ret == UTF8_CONVERT_OK) {
- scrap_txt_write(&app, clip);
+ scrap_txt_write(clip);
} else {
assert(ret == UTF8_CONVERT_OK);
}