rewritten retrying part of reader, it is now implemented how it should have been from the start.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@175 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-25 16:52:07 +00:00
parent 282d4b9751
commit 439dbfce6b
16 changed files with 61 additions and 44 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ SymbolWindow::SymbolWindow(Window* parent, const String& filename) {
// open file
Reader reader(filename);
SymbolP symbol;
reader.handle(symbol);
reader.handle_greedy(symbol);
init(parent, symbol);
}
@@ -151,7 +151,7 @@ void SymbolWindow::onFileOpen(wxCommandEvent& ev) {
//% symbol = importSymbol(wxImage(name));
} else {
Reader reader(new_shared1<wxFileInputStream>(name), name);
reader.handle(symbol);
reader.handle_greedy(symbol);
}
// show...
parts->setSymbol(symbol);