Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /qt/ScintillaEditBase/PlatQt.cpp [c37c20] .. [a7e785] Maximize Restore

  Switch to unified view

a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp
...
...
1129
const char *Platform::DefaultFont()
1129
const char *Platform::DefaultFont()
1130
{
1130
{
1131
    static char fontNameDefault[200] = "";
1131
    static char fontNameDefault[200] = "";
1132
    if (!fontNameDefault[0]) {
1132
    if (!fontNameDefault[0]) {
1133
        QFont font = QApplication::font();
1133
        QFont font = QApplication::font();
1134
        strcpy(fontNameDefault, font.family().toAscii());
1134
        strcpy(fontNameDefault, font.family().toUtf8());
1135
    }
1135
    }
1136
    return fontNameDefault;
1136
    return fontNameDefault;
1137
}
1137
}
1138
1138
1139
int Platform::DefaultFontSize()
1139
int Platform::DefaultFontSize()