Skip to content

Commit 97e2e30

Browse files
Found out why abs() was printed with the wrong font.
1 parent c015350 commit 97e2e30

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/AbsCell.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ AbsCell::AbsCell(Cell *parent, Configuration **config, CellPointers *cellPointer
3838
m_last(NULL)
3939
{
4040
m_open->DontEscapeOpeningParenthesis();
41+
m_open->SetStyle(TS_FUNCTION);
4142
}
4243

4344
// Old cppcheck bugs:

src/SqrtCell.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ SqrtCell::SqrtCell(Cell *parent, Configuration **config, CellPointers *cellPoint
3737
m_open(new TextCell(parent, config, cellPointers, "sqrt(")),
3838
m_close(new TextCell(parent, config, cellPointers, ")"))
3939
{
40+
m_open->SetStyle(TS_FUNCTION);
4041
m_signSize = 50;
4142
m_signWidth = 18;
4243
m_signTop = m_signSize / 2;

0 commit comments

Comments
 (0)