Removed windom variable from clipboard functions.

This commit is contained in:
Ole Loots 2013-01-09 01:37:11 +01:00
parent 64f8030b28
commit f1fe8350a8
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}