summaryrefslogtreecommitdiff
path: root/ldmicro/miscutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/miscutil.cpp')
-rw-r--r--ldmicro/miscutil.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/ldmicro/miscutil.cpp b/ldmicro/miscutil.cpp
index 2a9b6f1..751fd8e 100644
--- a/ldmicro/miscutil.cpp
+++ b/ldmicro/miscutil.cpp
@@ -222,8 +222,10 @@ void NiceFont(HWID h)
qtfont.setFamily(MyNiceFont->lpszFace);
qtfont.setPixelSize(MyNiceFont->nHeight - 3);
qtfont.setFixedPitch(TRUE);
- qtfont.setStyle(MyNiceFont->fdwItalic ? QFont::StyleItalic : QFont::StyleNormal);
- qtfont.setWeight(MyNiceFont->fnWeight == FW_BOLD ? QFont::Bold : QFont::Normal);
+ qtfont.setStyle(
+ MyNiceFont->fdwItalic ? QFont::StyleItalic : QFont::StyleNormal);
+ qtfont.setWeight(
+ MyNiceFont->fnWeight == FW_BOLD ? QFont::Bold : QFont::Normal);
h->setFont(qtfont);
// SendMessage(h, WM_SETFONT, (WPARAM)MyNiceFont, TRUE);
@@ -239,8 +241,10 @@ void FixedFont(HWID h)
qtfont.setFamily(MyFixedFont->lpszFace);
qtfont.setPixelSize(MyFixedFont->nHeight - 3);
qtfont.setFixedPitch(TRUE);
- qtfont.setStyle(MyFixedFont->fdwItalic ? QFont::StyleItalic : QFont::StyleNormal);
- qtfont.setWeight(MyFixedFont->fnWeight == FW_BOLD ? QFont::Bold : QFont::Normal);
+ qtfont.setStyle(
+ MyFixedFont->fdwItalic ? QFont::StyleItalic : QFont::StyleNormal);
+ qtfont.setWeight(
+ MyFixedFont->fnWeight == FW_BOLD ? QFont::Bold : QFont::Normal);
h->setFont(qtfont);
// SendMessage(h, WM_SETFONT, (WPARAM)MyFixedFont, TRUE);
}