Skip to content

Commit

Permalink
Fix a bug introduced in revision 489.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed Apr 17, 2008
1 parent fb146a2 commit c53023e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/view_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@ gint vd_release_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data)
GtkTreePath *tpath;
FileData *fd = NULL;

if (!vd->click_fd) return FALSE;
vd_color_set(vd, vd->click_fd, FALSE);

if (bevent->button != 1) return TRUE;
Expand All @@ -914,6 +915,6 @@ gint vd_release_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data)
vdlist_select_row(vd, vd->click_fd);
}

return TRUE;
return FALSE;
}

0 comments on commit c53023e

Please sign in to comment.