19 lines
560 B
Plaintext
19 lines
560 B
Plaintext
$OpenBSD: patch-spectool_gtk_topo_c,v 1.1 2017/05/17 23:21:55 espie Exp $
|
|
|
|
Index: spectool_gtk_topo.c
|
|
--- spectool_gtk_topo.c.orig
|
|
+++ spectool_gtk_topo.c
|
|
@@ -379,9 +379,9 @@ static gboolean spectool_topo_legend_expose(GtkWidget
|
|
cairo_pattern_t *pattern;
|
|
int cp;
|
|
|
|
- g_return_if_fail(widget != NULL);
|
|
- g_return_if_fail(aux != NULL);
|
|
- g_return_if_fail(IS_SPECTOOL_TOPO(aux));
|
|
+ g_return_val_if_fail(widget != NULL, FALSE);
|
|
+ g_return_val_if_fail(aux != NULL, FALSE);
|
|
+ g_return_val_if_fail(IS_SPECTOOL_TOPO(aux), FALSE);
|
|
|
|
topo = SPECTOOL_TOPO(aux);
|
|
|