diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2015-01-26 16:34:46 +0100 |
---|---|---|
committer | valerio.mariani@desy.de <vmariani@cfeld-valerio2.desy.de> | 2015-01-27 14:11:25 +0100 |
commit | 32aa9fdf2cd23cd2d7f9fc6574ffec59b629a7f3 (patch) | |
tree | 230f8ae0c8436152790662d8dc852d0011c020dc /src | |
parent | ec97a9b53bc56ec7789a5449959a9a7722abf681 (diff) |
Formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/dw-hdfsee.c | 10 | ||||
-rw-r--r-- | src/hdfsee.c | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index d86d70cc..ea15077f 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -329,7 +329,8 @@ static void maybe_draw_focus(DisplayWindow *dw, cairo_t *cr, int i, break; case CALIBMODE_GROUPS: - if ( dw->image->det->panels[i].rigid_group == dw->calib_mode_curr_rg ) + if ( dw->image->det->panels[i].rigid_group == + dw->calib_mode_curr_rg ) { draw_calib_focus_rectangle(cr, basic_m, dw, i); cairo_stroke(cr); @@ -1096,8 +1097,8 @@ static void load_features_from_file(struct image *image, const char *filename) "(no geometry file given?)\n", pn); } else { - /* Convert coordinates to match rearranged panels in - * memory */ + /* Convert coordinates to match rearranged panels + * in memory */ fs = fs - p->orig_min_fs + p->min_fs; ss = ss - p->orig_min_ss + p->min_ss; @@ -1847,7 +1848,8 @@ static GtkWidget *displaywindow_addhdfgroup(struct hdfile *hdfile, item = gtk_menu_item_new_with_label(names[i]); if ( hdfile_is_scalar(hdfile, names[i], 0) ) { - tmp = hdfile_get_string_value(hdfile, names[i], NULL); + tmp = hdfile_get_string_value(hdfile, names[i], + NULL); } else { tmp = NULL; } diff --git a/src/hdfsee.c b/src/hdfsee.c index 56f1e6f1..b9394d33 100644 --- a/src/hdfsee.c +++ b/src/hdfsee.c @@ -219,7 +219,6 @@ int main(int argc, char *argv[]) case 'g' : geom_filename = strdup(optarg); det_geom = get_detector_geometry(geom_filename, &cbeam); - if ( det_geom == NULL ) { ERROR("Failed to read detector geometry " "from '%s'\n", optarg); |