added clarifying {}'s around if block

-Yosh
This commit is contained in:
Manish Singh 1998-09-06 20:05:46 +00:00
parent 091f764814
commit 519794bd70
3 changed files with 6 additions and 2 deletions

View File

@ -5,6 +5,8 @@ Sun Sep 6 12:48:32 PDT 1998 Manish Singh <yosh@gimp.org>
* app/gimage.c: fix for layer merge opacity, originally from Zach.
Sets opacity to 100%, and makes the mode normal.
* app/channels_dialog.c: added clarifying {}'s around if block
Sun Aug 30 16:33:30 PDT 1998 Manish Singh <yosh@gimp.org>
* plug-ins/*/Makefile.am: removed -lc from all Makefiles, since it

View File

@ -777,7 +777,7 @@ channel_list_events (GtkWidget *widget,
return TRUE;
}
/* Grumble - we have to handle double clicks ourselves because channels_dialog_flush is broken */
if (channel_widget->type == Auxillary)
if (channel_widget->type == Auxillary) {
if ((event->button.time < (button_click_time + 250)) && (channel_widget->ID == button_last_id)) {
channels_dialog_edit_channel_query (channel_widget);
return TRUE;
@ -785,6 +785,7 @@ channel_list_events (GtkWidget *widget,
button_click_time = event->button.time;
button_last_id = channel_widget->ID;
}
}
break;
case GDK_2BUTTON_PRESS:

View File

@ -777,7 +777,7 @@ channel_list_events (GtkWidget *widget,
return TRUE;
}
/* Grumble - we have to handle double clicks ourselves because channels_dialog_flush is broken */
if (channel_widget->type == Auxillary)
if (channel_widget->type == Auxillary) {
if ((event->button.time < (button_click_time + 250)) && (channel_widget->ID == button_last_id)) {
channels_dialog_edit_channel_query (channel_widget);
return TRUE;
@ -785,6 +785,7 @@ channel_list_events (GtkWidget *widget,
button_click_time = event->button.time;
button_last_id = channel_widget->ID;
}
}
break;
case GDK_2BUTTON_PRESS: