1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00

Fix check being the wrong way around.

This commit is contained in:
Dave Davenport 2016-11-26 16:57:13 +01:00
parent 425f8d1cd6
commit 4f3c7f122e

View file

@ -679,7 +679,7 @@ static void rofi_view_nav_row_tab ( RofiViewState *state )
*/ */
inline static void rofi_view_nav_row_select ( RofiViewState *state ) inline static void rofi_view_nav_row_select ( RofiViewState *state )
{ {
if ( state->list_view ) { if ( state->list_view == NULL ) {
return; return;
} }
unsigned int selected = listview_get_selected ( state->list_view ); unsigned int selected = listview_get_selected ( state->list_view );