diff options
author | Thomas White <taw@physics.org> | 2020-10-22 18:29:26 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-10-22 18:29:26 +0200 |
commit | 3c8f4bd3bb7e02e8aa71af0ea34aaf12d442ded4 (patch) | |
tree | 9431d3e548168339b19e194022d6ba700d641168 | |
parent | 65f7ff44d6a5461f2392b644a0c4e03b550d4975 (diff) |
CrystFELIndexingOpts: Fix incorrect variable for push-res value
-rw-r--r-- | src/crystfelindexingopts.c | 2 |
1 files changed, 1 insertions, 1 deletions
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' ) { |