summaryrefslogtreecommitdiff
path: root/atari/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'atari/gui.c')
-rwxr-xr-xatari/gui.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/atari/gui.c b/atari/gui.c
index 8f5591307..fdcd0d4bb 100755
--- a/atari/gui.c
+++ b/atari/gui.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2010 <ole@monochrom.net>
+ * Copyright 2010-2013 <ole@monochrom.net>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
@@ -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);
}
@@ -986,5 +986,3 @@ int main(int argc, char** argv)
return 0;
}
-
-