minor cleanup

This commit is contained in:
Daniel Micay 2012-06-10 14:16:51 -04:00
parent cefa307367
commit 5b27bab6cf
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ gboolean position_overlay_cb(GtkBin *overlay, GtkWidget *widget, GdkRectangle *a
gboolean button_press_cb(VteTerminal *vte, GdkEventButton *event) {
char *match = check_match(vte, (int)event->x, (int)event->y);
if (event->button == 1 && event->type == GDK_BUTTON_PRESS && match != NULL) {
if (event->button == 1 && event->type == GDK_BUTTON_PRESS && match) {
launch_browser(match);
g_free(match);
return TRUE;