# HG changeset patch # User joachim99 # Date 1065880779 0 # Node ID 3d2965e0fb9cbde8f697c5c839d36e7ed2bb9666 # Parent e0bb6c85203a6d5e948ebe93fde79e2b5b2846f0 Use Courier New as default font under WIN32 diff -r e0bb6c85203a -r 3d2965e0fb9c kdiff3/src/optiondialog.cpp --- 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 @@ -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;