From 8cdc0492546bf01c084ecae514e42f631e865c87 Mon Sep 17 00:00:00 2001 From: barbeque-squared Date: Sun, 28 Jul 2024 14:10:16 +0200 Subject: [PATCH] don't merge, this is to test something for #877 --- src/base/TextGL.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/TextGL.pas b/src/base/TextGL.pas index 0a8f9b60a..3071ebc38 100644 --- a/src/base/TextGL.pas +++ b/src/base/TextGL.pas @@ -136,8 +136,8 @@ procedure LoadFontFamilyNames; SetLength(FontFamilyNames, 0); for FontNameIndex := 0 to FontSections.Count-1 do begin - //if (Sections[FontNameIndex].StartsWith('Font_')) then // .StartsWith() does not compile on Travis-CI - if (LeftStr(FontSections[FontNameIndex], 5) = 'Font_') then + if (FontSections[FontNameIndex].StartsWith('Font_')) then // .StartsWith() does not compile on Travis-CI + //if (LeftStr(FontSections[FontNameIndex], 5) = 'Font_') then begin SetLength(FontFamilyNames, Length(FontFamilyNames) + 1); //FontFamilyNames[FontNameIndex] := FontIni.ReadString(Sections[FontNameIndex], 'Name', Sections[FontNameIndex].Remove(0, 5)); // .Remove() does not compile on Travis-CI