From 695f0522370e43c5c6aa6b35a1c7c0ff93e5faa9 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Mon, 31 Dec 2012 03:37:43 +0100 Subject: Moved form handling into gemtk, removed several windom includes --- atari/toolbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'atari/toolbar.c') diff --git a/atari/toolbar.c b/atari/toolbar.c index c6bd74568..9920b920f 100644 --- a/atari/toolbar.c +++ b/atari/toolbar.c @@ -585,12 +585,12 @@ bool toolbar_key_input(struct s_toolbar *tb, short nkc) text = malloc( len+1 ); if (text){ textarea_get_text( tb->url.textarea, text, len+1 ); - scrap_txt_write( &app, text ); + scrap_txt_write(text); free( text ); } } else if ( ik == KEY_PASTE) { - char * clip = scrap_txt_read( &app ); + char * clip = scrap_txt_read(); if ( clip != NULL ){ int clip_length = strlen( clip ); if ( clip_length > 0 ) { @@ -604,8 +604,8 @@ bool toolbar_key_input(struct s_toolbar *tb, short nkc) free(utf8); ret = true; } - free( clip ); } + free( clip ); } } else if (ik == KEY_ESCAPE) { -- cgit v1.2.3