mirror of https://github.com/davatorium/rofi.git
Don't add empty ssh targets.
This commit is contained in:
parent
6bb615f1d1
commit
f4da5aceb2
|
@ -188,6 +188,8 @@ static char ** get_ssh ( )
|
||||||
|
|
||||||
int found = 0;
|
int found = 0;
|
||||||
|
|
||||||
|
if(start == stop) continue;
|
||||||
|
|
||||||
// This is a nice little penalty, but doable? time will tell.
|
// This is a nice little penalty, but doable? time will tell.
|
||||||
// given num_favorites is max 25.
|
// given num_favorites is max 25.
|
||||||
for ( int j = 0; found == 0 && j < num_favorites; j++ ) {
|
for ( int j = 0; found == 0 && j < num_favorites; j++ ) {
|
||||||
|
|
Loading…
Reference in New Issue