mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Don't add empty ssh targets.
This commit is contained in:
parent
6bb615f1d1
commit
f4da5aceb2
1 changed files with 2 additions and 0 deletions
|
@ -188,6 +188,8 @@ static char ** get_ssh ( )
|
|||
|
||||
int found = 0;
|
||||
|
||||
if(start == stop) continue;
|
||||
|
||||
// This is a nice little penalty, but doable? time will tell.
|
||||
// given num_favorites is max 25.
|
||||
for ( int j = 0; found == 0 && j < num_favorites; j++ ) {
|
||||
|
|
Loading…
Reference in a new issue