commit a88b6abcedb8269dba03233a37b7d625020ebc94
Author: Enrico Forestieri <[email protected]>
Date: Tue Jul 22 13:38:21 2025 +0200
No need to use a different name
This amends 0f179c8c.
---
src/mathed/MathFactory.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mathed/MathFactory.cpp b/src/mathed/MathFactory.cpp
index 564acb7555..1f37fd849e 100644
--- a/src/mathed/MathFactory.cpp
+++ b/src/mathed/MathFactory.cpp
@@ -142,7 +142,7 @@ bool isUnicodeSymbolAvailable(docstring const & name,
char_type & c)
}
-void initSymbolsFromFile(ifstream & fs)
+void initSymbols(ifstream & fs)
{
// limit the size of strings we read to avoid memory problems
fs >> setw(65636);
@@ -187,7 +187,7 @@ void initSymbolsFromFile(ifstream & fs)
continue;
}
ifstream sysfs(sysfile.toFilesystemEncoding().c_str());
- initSymbolsFromFile(sysfs);
+ initSymbols(sysfs);
continue;
}
@@ -363,7 +363,7 @@ void initSymbols()
return;
}
ifstream fs(filename.toFilesystemEncoding().c_str());
- initSymbolsFromFile(fs);
+ initSymbols(fs);
string tmp = "cmm";
string tmp2 = "cmsy";
has_math_fonts = isMathFontAvailable(tmp) && isMathFontAvailable(tmp2);
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs