diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-09-27 18:05:34 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | ca5f6f3d4bf53a00f81c5323325b2e4e40489aeb (patch) | |
tree | 9b6679dbd5d1066ac6664a0c212f0a8b6eac2d24 /org/output_xmls.org | |
parent | meta_abstraction, work on ocn (diff) |
fix for: gdc compiled program when run, segfaults on certain actions
Diffstat (limited to 'org/output_xmls.org')
-rw-r--r-- | org/output_xmls.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org/output_xmls.org b/org/output_xmls.org index 4050a5e..ffbd7ed 100644 --- a/org/output_xmls.org +++ b/org/output_xmls.org @@ -409,8 +409,8 @@ auto inline_links(O)( string seg_scroll = "seg", ) { if (obj.inline_links) { - if ((seg_scroll == "scroll") - && _txt.match(rgx.mark_internal_site_lnk)) { + if ((_txt.match(rgx.mark_internal_site_lnk)) + && (seg_scroll == "scroll")) { // conditions reversed to avoid: gdc compiled program run segfault _txt = (_txt).replaceAll( rgx.inline_seg_link, "$1"); |