aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/output')
-rw-r--r--src/sdp/output/xmls.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdp/output/xmls.d b/src/sdp/output/xmls.d
index 1181c6f..c100bbc 100644
--- a/src/sdp/output/xmls.d
+++ b/src/sdp/output/xmls.d
@@ -306,8 +306,8 @@ template outputXHTMLs() {
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");