diff options
author | Ole Loots <ole@monochrom.net> | 2012-12-31 03:37:43 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-12-31 03:37:43 +0100 |
commit | 695f0522370e43c5c6aa6b35a1c7c0ff93e5faa9 (patch) | |
tree | 4a95965fa12b7e5d2029e6a36e22774c2892b7d5 /atari/toolbar.c | |
parent | f0f57e34314b1a2e3327ab0ae65ec840efa3ee3a (diff) | |
download | netsurf-695f0522370e43c5c6aa6b35a1c7c0ff93e5faa9.tar.gz netsurf-695f0522370e43c5c6aa6b35a1c7c0ff93e5faa9.tar.bz2 |
Moved form handling into gemtk,
removed several windom includes
Diffstat (limited to 'atari/toolbar.c')
-rw-r--r-- | atari/toolbar.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |