SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
net/spectrum-tools/patches/patch-spectool_gtk_spectral_c
Normal file
16
net/spectrum-tools/patches/patch-spectool_gtk_spectral_c
Normal file
|
@ -0,0 +1,16 @@
|
|||
Index: spectool_gtk_spectral.c
|
||||
--- spectool_gtk_spectral.c.orig
|
||||
+++ spectool_gtk_spectral.c
|
||||
@@ -415,9 +415,9 @@ static gboolean spectool_spectral_legend_expose(GtkWid
|
||||
cairo_pattern_t *pattern;
|
||||
int cp;
|
||||
|
||||
- g_return_if_fail(widget != NULL);
|
||||
- g_return_if_fail(aux != NULL);
|
||||
- g_return_if_fail(IS_SPECTOOL_SPECTRAL(aux));
|
||||
+ g_return_val_if_fail(widget != NULL, FALSE);
|
||||
+ g_return_val_if_fail(aux != NULL, FALSE);
|
||||
+ g_return_val_if_fail(IS_SPECTOOL_SPECTRAL(aux), FALSE);
|
||||
|
||||
spectral = SPECTOOL_SPECTRAL(aux);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue