From f1fe8350a85e01c9d9eef43d6ba2aecdd4794dc1 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Wed, 9 Jan 2013 01:37:11 +0100 Subject: Removed windom variable from clipboard functions. --- atari/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'atari') 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); } -- cgit v1.2.3