From 3c8f4bd3bb7e02e8aa71af0ea34aaf12d442ded4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 22 Oct 2020 18:29:26 +0200 Subject: CrystFELIndexingOpts: Fix incorrect variable for push-res value --- src/crystfelindexingopts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/crystfelindexingopts.c b/src/crystfelindexingopts.c index 2d51e062..e4e2ffd3 100644 --- a/src/crystfelindexingopts.c +++ b/src/crystfelindexingopts.c @@ -652,7 +652,7 @@ float crystfel_indexing_opts_get_push_res(CrystFELIndexingOpts *opts) const gchar *text; float push_res; char *rval; - text = gtk_entry_get_text(GTK_ENTRY(opts->ignore_fewer_peaks)); + text = gtk_entry_get_text(GTK_ENTRY(opts->push_res)); errno = 0; push_res = strtof(text, &rval); if ( *rval != '\0' ) { -- cgit v1.2.3