You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/wxhexeditor/files/wxhexeditor-0.09-gcc45.patch

38 lines
1.4 KiB

http://wxhexeditor.svn.sourceforge.net/viewvc/wxhexeditor/trunk/src/HexEditor.cpp?r1=132&r2=145
--- a/src/HexEditor.cpp
+++ b/src/HexEditor.cpp
@@ -102,7 +102,7 @@ bool HexEditor::FileOpen(wxFileName& myfilename ){
wxLogError(_("Critical Error. File pointer is not empty!"));
return false;
}
- else if(myfilename.IsFileReadable()){ //IsFileReadable
+ else if( myfilename.IsFileReadable() ){ //IsFileReadable
if ( myfilename.GetSize( ) < 50*MB && myfilename.IsFileWritable() )
myfile = new FileDifference( myfilename, FileDifference::ReadWrite );
else
@@ -869,20 +869,20 @@ void HexEditor::OnMouseTest( wxMouseEvent& event ){
}
void HexEditor::FindDialog( void ){
- class FindDialog *myfind = new FindDialog::FindDialog( this, myfile );
+ ::FindDialog *myfind = new ::FindDialog( this, myfile );
myfind->ShowModal();
myfind->Destroy();
}
void HexEditor::ReplaceDialog( void ){
- class ReplaceDialog *myfind = new ReplaceDialog::ReplaceDialog( this, myfile );
+ ::ReplaceDialog *myfind = new ::ReplaceDialog( this, myfile );
myfind->ShowModal();
myfind->Destroy();
}
void HexEditor::GotoDialog( void ){
uint64_t newoffset;
- class GotoDialog *mygoto = new GotoDialog::GotoDialog( this, newoffset, CursorOffset(), FileLength(), myDialogVector );
+ ::GotoDialog *mygoto = new ::GotoDialog( this, newoffset, CursorOffset(), FileLength(), myDialogVector );
if( mygoto->ShowModal() == wxID_OK ){
Goto( newoffset );
}