mirror of
https://github.com/Cloudef/bemenu
synced 2024-11-23 17:32:11 +01:00
Adapt code style
This commit is contained in:
parent
d6c58f5ea7
commit
e1a016b8a0
@ -839,10 +839,10 @@ bm_menu_run_with_key(struct bm_menu *menu, enum bm_key key, uint32_t unicode)
|
||||
{
|
||||
FILE *clipboard;
|
||||
clipboard = popen("wl-paste -t text/plain", "r");
|
||||
if (clipboard == NULL) {
|
||||
if (!clipboard) {
|
||||
clipboard = popen("xclip -t text/plain -out", "r");
|
||||
}
|
||||
if (clipboard == NULL) {
|
||||
if (!clipboard) {
|
||||
break;
|
||||
}
|
||||
int c;
|
||||
|
Loading…
Reference in New Issue
Block a user