summaryrefslogtreecommitdiff
path: root/academic/gwyddion/gwyddion-2.38-stat-tool-save-crash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/gwyddion/gwyddion-2.38-stat-tool-save-crash.patch')
-rw-r--r--academic/gwyddion/gwyddion-2.38-stat-tool-save-crash.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/academic/gwyddion/gwyddion-2.38-stat-tool-save-crash.patch b/academic/gwyddion/gwyddion-2.38-stat-tool-save-crash.patch
new file mode 100644
index 0000000000..470ad5a50c
--- /dev/null
+++ b/academic/gwyddion/gwyddion-2.38-stat-tool-save-crash.patch
@@ -0,0 +1,13 @@
+Index: modules/tools/stats.c
+===================================================================
+--- modules/tools/stats.c (revision 16602)
++++ modules/tools/stats.c (working copy)
+@@ -1096,7 +1096,7 @@
+ area = report_data->same_units ? fmt_val(area) : g_strdup(_("N.A."));
+ projarea = fmt_val(projarea);
+
+- vf = gwy_si_unit_get_format_with_digits(siunitarea,
++ vf = gwy_si_unit_get_format_with_digits(siunitvar,
+ GWY_SI_UNIT_FORMAT_PLAIN,
+ report_data->results.var, 3, vf);
+ var = fmt_val(var);