mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
Fix compilation of get_clipboard_text()
This commit is contained in:
parent
f18de1d3f3
commit
0c40ff05c9
@ -353,14 +353,14 @@ get_clipboard_text(void)
|
||||
if (is_gnuscreen()) {
|
||||
struct string str;
|
||||
|
||||
if (!init_string(&str)) return;
|
||||
if (!init_string(&str)) return NULL;
|
||||
|
||||
add_to_string(&str, "screen -X paste .");
|
||||
if (str.length) exe(str.source);
|
||||
if (str.source) done_string(&str);
|
||||
}
|
||||
|
||||
return stracpy(clipboard ? clipboard : "");
|
||||
return stracpy(empty_string_or_(clipboard));
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user