diff options
Diffstat (limited to 'src/crystfelindexingopts.c')
-rw-r--r-- | src/crystfelindexingopts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crystfelindexingopts.c b/src/crystfelindexingopts.c index eccbf7a6..70b46290 100644 --- a/src/crystfelindexingopts.c +++ b/src/crystfelindexingopts.c @@ -1090,13 +1090,13 @@ void crystfel_indexing_opts_set_integration_radii(CrystFELIndexingOpts *opts, { char tmp[64]; - snprintf(tmp, 63, "%f", ir_inn); + snprintf(tmp, 63, "%.1f", ir_inn); gtk_entry_set_text(GTK_ENTRY(opts->ir_inn), tmp); - snprintf(tmp, 63, "%f", ir_mid); + snprintf(tmp, 63, "%.1f", ir_mid); gtk_entry_set_text(GTK_ENTRY(opts->ir_mid), tmp); - snprintf(tmp, 63, "%f", ir_out); + snprintf(tmp, 63, "%.1f", ir_out); gtk_entry_set_text(GTK_ENTRY(opts->ir_out), tmp); } |