Commit 5291e759 authored by Anil Daoud's avatar Anil Daoud

* bookmarks.cpp: compilation fix

parent 2e9954d9
......@@ -175,10 +175,10 @@ BookmarkEditDialog::~BookmarkEditDialog()
void BookmarkEditDialog::OnOK( wxCommandEvent &event )
{
if( p_seekpoint->psz_name ) free( p_seekpoint->psz_name );
p_seekpoint->psz_name = strdup( name_text->GetValue().c_str() );
p_seekpoint->i_byte_offset = atoi( bytes_text->GetValue().c_str() );
p_seekpoint->psz_name = strdup( name_text->GetValue().mb_str() );
p_seekpoint->i_byte_offset = atoi( bytes_text->GetValue().mb_str() );
p_seekpoint->i_time_offset = 1000000 *
atoll( time_text->GetValue().c_str() ) ;
atoll( time_text->GetValue().mb_str() ) ;
EndModal( wxID_OK );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment