1
0
Fork 0
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:
Qball Cow 2014-01-22 10:01:45 +01:00
parent 6bb615f1d1
commit f4da5aceb2

View file

@ -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++ ) {