Skip to content

Commit

Permalink
Fix issue #6: extra space in family comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
fablhx committed Jan 24, 2016
1 parent 613d99b commit 8f1d9a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gwu.ml
Original file line number Diff line number Diff line change
Expand Up @@ -792,16 +792,16 @@ value print_comment_for_family oc base gen fam =
old_gw.val && (fevents <> [] || sou base (get_marriage_note fam) <> "")
in
if (comm <> "" || has_evt) then do {
fprintf oc "comm ";
if comm <> "" then fprintf oc "%s " (no_newlines comm)
fprintf oc "comm";
if comm <> "" then fprintf oc " %s" (no_newlines comm)
else ();
if old_gw.val then do {
if sou base (get_marriage_note fam) <> "" then
fprintf oc "marriage: %s "
fprintf oc " marriage: %s"
(no_newlines (sou base (get_marriage_note fam)))
else ();
List.iter
(fun e -> do {print_fevent oc base gen True e; fprintf oc " "})
(fun e -> do {fprintf oc " "; print_fevent oc base gen True e})
fevents;
}
else ();
Expand Down

0 comments on commit 8f1d9a5

Please sign in to comment.