From a732ef9150af570e41e3c922c1f025c1bfe56ac2 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 11 Aug 2002 19:39:51 +0000 Subject: [PATCH] Same typo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/font.cpp | 4 ++-- src/gtk1/font.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index 67fe2d4df0..cc862c4931 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -187,7 +187,7 @@ void wxFontRefData::Init(int pointSize, switch (m_family) { case wxFONTFAMILY_TELETYPE: - pango_font_description_set_family( m_nativeFontInfo.description, "monospaced" ); + pango_font_description_set_family( m_nativeFontInfo.description, "monospace" ); break; case wxFONTFAMILY_SWISS: pango_font_description_set_family( m_nativeFontInfo.description, "serif" ); @@ -274,7 +274,7 @@ wxFontRefData::wxFontRefData(const wxString& fontname) break; } - if (m_faceName == wxT("monospaced")) + if (m_faceName == wxT("monospace")) { m_family = wxFONTFAMILY_TELETYPE; } diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 67fe2d4df0..cc862c4931 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -187,7 +187,7 @@ void wxFontRefData::Init(int pointSize, switch (m_family) { case wxFONTFAMILY_TELETYPE: - pango_font_description_set_family( m_nativeFontInfo.description, "monospaced" ); + pango_font_description_set_family( m_nativeFontInfo.description, "monospace" ); break; case wxFONTFAMILY_SWISS: pango_font_description_set_family( m_nativeFontInfo.description, "serif" ); @@ -274,7 +274,7 @@ wxFontRefData::wxFontRefData(const wxString& fontname) break; } - if (m_faceName == wxT("monospaced")) + if (m_faceName == wxT("monospace")) { m_family = wxFONTFAMILY_TELETYPE; } -- 2.45.2