aboutsummaryrefslogtreecommitdiff
path: root/src/hdfsee.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-09 08:51:43 -0800
committerThomas White <taw@physics.org>2013-02-09 08:51:43 -0800
commitafafa4ca344de75f27771d8191e79c6280b68694 (patch)
treee908fdecf2a2ee3351a2d4e1d768de91bf8e5971 /src/hdfsee.c
parent3de4d63ee345b01a9f992f60e1fb818b0c707c9c (diff)
hdfsee: Tidy up confusing error message
Diffstat (limited to 'src/hdfsee.c')
-rw-r--r--src/hdfsee.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/hdfsee.c b/src/hdfsee.c
index be1f4876..894b8af9 100644
--- a/src/hdfsee.c
+++ b/src/hdfsee.c
@@ -266,11 +266,7 @@ int main(int argc, char *argv[])
ring_radii,
n_rings,
ring_size);
- if ( main_window_list[i] == NULL ) {
- ERROR("Couldn't open display window\n");
- } else {
- main_n_windows++;
- }
+ if ( main_window_list[i] != NULL ) main_n_windows++;
}
if ( main_n_windows == 0 ) return 0;