changeset 30:3d2965e0fb9c

Use Courier New as default font under WIN32
author joachim99
date Sat, 11 Oct 2003 13:59:39 +0000
parents e0bb6c85203a
children c3f2fd864e45
files kdiff3/src/optiondialog.cpp
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kdiff3/src/optiondialog.cpp	Sat Oct 11 12:52:28 2003 +0000
+++ b/kdiff3/src/optiondialog.cpp	Sat Oct 11 13:59:39 2003 +0000
@@ -20,9 +20,11 @@
 
 /***************************************************************************
  * $Log$
+ * Revision 1.2  2003/10/11 13:59:39  joachim99
+ * Use Courier New as default font under WIN32
+ *
  * Revision 1.1  2003/10/06 18:38:48  joachim99
  * KDiff3 version 0.9.70
- *                                                                   *
  ***************************************************************************/
 
 #include <qcheckbox.h>
@@ -630,8 +632,12 @@
       (*i)->setToDefault();
    }
 
+#ifdef _WIN32
+   m_fontChooser->setFont( QFont("Courier New", 10 ), true /*only fixed*/ );
+#else
    m_fontChooser->setFont( QFont("Courier", 10 ), true /*only fixed*/ );
-    
+#endif
+
    m_bAutoAdvance = false;
    m_bShowWhiteSpace = true;
    m_bShowLineNumbers = false;