1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-23 09:21:59 +01:00

Adapt code style

This commit is contained in:
Andrei E 2021-11-03 14:19:09 +00:00 committed by Jari Vetoniemi
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;