diff --git a/src/document/functions.cpp b/src/document/functions.cpp
index 35449024..edb8a652 100644
--- a/src/document/functions.cpp
+++ b/src/document/functions.cpp
@@ -2,7 +2,7 @@
static const LONG MAXLOOP = 1000;
static const char glDefaultStyles[] =
-"
\n\
+"
\n\
\n\
\n\
\n\
@@ -25,7 +25,7 @@ static const Field * find_field(OBJECTPTR Object, CSTRING Name, OBJECTPTR *Sourc
//********************************************************************************************************************
-constexpr DOUBLE fast_hypot(DOUBLE Width, DOUBLE Height)
+constexpr static DOUBLE fast_hypot(DOUBLE Width, DOUBLE Height)
{
if (Width > Height) std::swap(Width, Height);
if ((Height / Width) <= 1.5) return 5.0 * (Width + Height) / 7.0; // Fast hypot calculation accurate to within 1% for specific use cases.
diff --git a/src/document/tests/test-doc.fluid b/src/document/tests/test-doc.fluid
index dee2adae..6fa9b142 100644
--- a/src/document/tests/test-doc.fluid
+++ b/src/document/tests/test-doc.fluid
@@ -72,13 +72,13 @@ function testDialog() crcTest('Dialog', 'dialog.rpl', 0x3551e8bf) end
function testFonts() crcTest('Fonts', 'fonts.rpl', 0x293c9498) end
function testImages() crcTest('Images', 'images.rpl', 0xb7301c70) end
function testLayout() crcTest('Layout', 'layout.rpl', 0x1e4d9640) end
-function testLinks1() crcTest('Links1', 'links.rpl', 0xb7e1a934) end
-function testLinks2() crcTest('Links2', 'links.rpl?font=Noto Sans&font-size=16', 0x898505f8) end
+function testLinks1() crcTest('Links1', 'links.rpl', 0x01e1daf0) end
+function testLinks2() crcTest('Links2', 'links.rpl?font=Noto Sans&font-size=16', 0x729fe850) end
function testLists() crcTest('Lists', 'lists.rpl', 0xa466f7e9) end
-function testLogic() crcTest('Logic', 'logic.rpl', 0x766bfadb) end
+function testLogic() crcTest('Logic', 'logic.rpl', 0x085f7d00) end
function testParagraphs() crcTest('Paragraphs', 'paragraphs.rpl', 0xa3b93738) end
-function testTables() crcTest('Tables', 'tables.rpl', 0x6dad4c39) end
-function testWidgets() crcTest('Widgets', 'widgets.rpl', 0xa18b67ea) end
+function testTables() crcTest('Tables', 'tables.rpl', 0x23e9a622) end
+function testWidgets() crcTest('Widgets', 'widgets.rpl', 0xe3137ec7) end
-----------------------------------------------------------------------------------------------------------------------