aboutsummaryrefslogtreecommitdiff
path: root/src/render_hkl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/render_hkl.c')
-rw-r--r--src/render_hkl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c
index b7559cf5..a4ad340a 100644
--- a/src/render_hkl.c
+++ b/src/render_hkl.c
@@ -615,7 +615,7 @@ int main(int argc, char *argv[])
ref = new_list_intensity();
cts = new_list_count();
ReflItemList *items = read_reflections(infile, ref, NULL, cts, NULL);
- if ( ref == NULL ) {
+ if ( items == NULL ) {
ERROR("Couldn't open file '%s'\n", infile);
return 1;
}