summaryrefslogtreecommitdiff
path: root/science/dakota/files/patch-packages_external_sciplot_SciPlot.c
blob: 01edfb116b20f7cd7f9c122d30ad497b11945360 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- reported to the ML on 2022-02-01

--- packages/external/sciplot/SciPlot.c.orig	2022-02-01 09:03:55 UTC
+++ packages/external/sciplot/SciPlot.c
@@ -3761,7 +3761,7 @@ realpair* SciPlotListReturnPtr (Widget wi, int idnum, 
   SciPlotList *p;
   SciPlotWidget w;
   if (!XtIsSciPlot(wi))
-    return;
+    return NULL;
   w = (SciPlotWidget) wi;
 
   p = _ListFind(w, idnum);
@@ -3792,7 +3792,7 @@ Boolean SciPlotQuickUpdateCheck (Widget wi)
 {
   SciPlotWidget w;
   if (!XtIsSciPlot(wi))
-    return;
+    return NULL;
   w = (SciPlotWidget) wi;
 
   return CheckMinMax(w);