aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/sctp_byte_graph_dlg.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-02-21 01:00:44 +0000
committerGerald Combs <gerald@wireshark.org>2013-02-21 01:00:44 +0000
commitb0d958c4ed54dcd365e06997897475ddfc82baee (patch)
treea4bef63b6b3400569edc4891c1bf9fa9ed816348 /ui/gtk/sctp_byte_graph_dlg.c
parent63ef23bf5f9dc5cc3a765336e1e24075da2486c5 (diff)
Don't yell at the user quite so much. Remove exclamation points from
some error messages and rephrase some others. svn path=/trunk/; revision=47787
Diffstat (limited to 'ui/gtk/sctp_byte_graph_dlg.c')
-rw-r--r--ui/gtk/sctp_byte_graph_dlg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/gtk/sctp_byte_graph_dlg.c b/ui/gtk/sctp_byte_graph_dlg.c
index 364d6016d2..599d8e49ae 100644
--- a/ui/gtk/sctp_byte_graph_dlg.c
+++ b/ui/gtk/sctp_byte_graph_dlg.c
@@ -115,8 +115,8 @@ static GtkWidget *zoomout_bt;
static void draw_sack_graph(struct sctp_udata *u_data)
{
- GdkRGBA red_color = {1.0, 0.0, 0.0, 1.0};
- GdkRGBA green_color = {0.0, 1.0, 0.0, 1.0};
+ GdkRGBA red_color = {1.0, 0.0, 0.0, 1.0};
+ GdkRGBA green_color = {0.0, 1.0, 0.0, 1.0};
gint diff;
GPtrArray *array = NULL;
guint32 i, size = 0, start=0, end;
@@ -186,7 +186,7 @@ static void draw_sack_graph(struct sctp_udata *u_data)
LEFT_BORDER+u_data->io->offset+u_data->io->x_interval*diff+0.5,
u_data->io->surface_height-BOTTOM_BORDER-u_data->io->offset-((SUB_32(end,min_tsn))*u_data->io->y_interval)+0.5);
cairo_stroke(cr);
- cairo_destroy(cr);
+ cairo_destroy(cr);
if (more == TRUE)
{
#if GTK_CHECK_VERSION(2,22,0)
@@ -377,7 +377,7 @@ static void sctp_graph_draw(struct sctp_udata *u_data)
cairo_line_to(cr, u_data->io->surface_width - RIGHT_BORDER + u_data->io->offset - 5.5, u_data->io->surface_height - BOTTOM_BORDER + 5.5);
cairo_stroke(cr);
cairo_destroy(cr);
-
+
u_data->io->axis_width = u_data->io->surface_width - LEFT_BORDER - RIGHT_BORDER - u_data->io->offset;
if(u_data->io->tmp_width>0){
@@ -863,7 +863,7 @@ on_zoomin_bt (GtkWidget *widget _U_, struct sctp_udata *u_data)
}
else
{
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Please draw a rectangle around the area you want to zoom in!");
+ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Please draw a rectangle around the area you want to zoom in.");
}
}