Commit 7fa0bc44 authored by Thomas White's avatar Thomas White Committed by Thomas White
Browse files

render_hkl: Avoid segfault at end

parent e0ea45c6
......@@ -656,7 +656,7 @@ int main(int argc, char *argv[])
weighting = strdup("I");
}
if ( outfile == NULL ) outfile = "za.pdf";
if ( outfile == NULL ) outfile = strdup("za.pdf");
if ( strcmp(weighting, "I") == 0 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment