Commit ac539b95 authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Minor and very minors fixes: move -DKICAD_USE_WEBKIT definition to the main...

Minor and very minors fixes: move -DKICAD_USE_WEBKIT definition to the main CMakeLists.txt. Remove duplicate semi-colon at end of some lines.
parent 77fb1897
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -421,6 +421,7 @@ set( wxWidgets_CONFIG_OPTIONS --static=no )

if( KICAD_USE_WEBKIT AND BUILD_GITHUB_PLUGIN )
    set( webkitlib "webview" )
    add_definitions( -DKICAD_USE_WEBKIT )
else()
    set( webkitlib "" )
endif()
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ std::string Double2Str( double aValue )
        len = sprintf( buf, "%.16g", aValue );
    }

    return std::string( buf, len );;
    return std::string( buf, len );
}


+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ DIALOG_IMAGE_EDITOR::DIALOG_IMAGE_EDITOR( wxWindow* aParent, BITMAP_BASE* aItem
    m_buttonUndoLast->Enable( false );
    wxString msg;
    msg.Printf( wxT("%f"), m_workingImage->m_Scale );
    m_textCtrlScale->SetValue( msg );;
    m_textCtrlScale->SetValue( msg );

    GetSizer()->SetSizeHints( this );
    Layout();
+2 −2
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ struct APP_SINGLE_TOP : public wxApp
        {
            wxLogError( wxT( "Unhandled exception class: %s  what: %s" ),
                GetChars( FROM_UTF8( typeid(e).name() )),
                GetChars( FROM_UTF8( e.what() ) ) );;
                GetChars( FROM_UTF8( e.what() ) ) );
        }
        catch( const IO_ERROR& ioe )
        {
@@ -158,7 +158,7 @@ struct APP_SINGLE_TOP : public wxApp
        {
            wxLogError( wxT( "Unhandled exception class: %s  what: %s" ),
                GetChars( FROM_UTF8( typeid(e).name() )),
                GetChars( FROM_UTF8( e.what() ) ) );;
                GetChars( FROM_UTF8( e.what() ) ) );
        }
        catch( const IO_ERROR& ioe )
        {
+0 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ add_definitions( -DCVPCB )

if( KICAD_USE_WEBKIT AND BUILD_GITHUB_PLUGIN )
    set( WEBVIEWER_WXLIB "webviewer" )
    add_definitions( -DKICAD_USE_WEBKIT )
endif()


Loading