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

fixed bug 573833

parent f48322d3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -119,9 +119,9 @@ bool IsOK( wxWindow* parent, const wxString& text )
 * Title = title to display
 * Buffer: enter text by user
 * Leading and trailing spaces are removed
 * If buffer != "Buffer is displayed
 * Buffer is the initial text displayed, anr the returned text
 * Return:
 * 0 if OK
 * 1 if OK
 * 0 if ESCAPE
 */
int Get_Message( const wxString& title,           // The question
+11468 −33002

File changed.

File size exceeds preview limit.

+3 −0
Original line number Diff line number Diff line
@@ -53,6 +53,9 @@ void WinEDA_LibeditFrame::OnPlotCurrentComponent( wxCommandEvent& event )
        if( FullFileName.IsEmpty() )
            return;

        // calling wxYield is mandatory under Linux, after closing the file selector dialog
        // to refresh the screen before creating the PNG or JPEG image from screen
        wxYield();
        CreatePNGorJPEGFile( FullFileName, fmt_is_jpeg );
    }
        break;
+2 −2
Original line number Diff line number Diff line
@@ -354,7 +354,7 @@ bool DIMENSION::Save( FILE* aFile ) const
    const char keyWordLine[] = "$COTATION\n";
    const char keyWordLineEnd[] = "$endCOTATION\n";

    if( fprintf( aFile, keyWordLine ) != sizeof(keyWordLine)-1 )
    if( fputs( keyWordLine, aFile ) == EOF )
        goto out;

    fprintf( aFile, "Ge %d %d %lX\n", m_Shape, m_Layer, m_TimeStamp );
@@ -401,7 +401,7 @@ bool DIMENSION::Save( FILE* aFile ) const
             FlecheG2_ox, FlecheG2_oy,
             FlecheG2_fx, FlecheG2_fy, m_Width );

    if( fprintf( aFile, keyWordLineEnd ) != sizeof(keyWordLineEnd)-1 )
    if( fputs( keyWordLineEnd, aFile ) == EOF )
        goto out;

    rc = true;