SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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);