X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpoefilter.cpp;h=b6fc1475a1f96fc093234d1c0e1a4f71d5524547;hb=0388bdcffe5c2c3e720afa9aa911268eac9c32de;hp=032b8716841ef75bc3b8a5f6637daea1be1b9e5e;hpb=fc27eb63c05d915d606e17992ecd5b7f68478101;p=poefilter.git diff --git a/source/poefilter.cpp b/source/poefilter.cpp index 032b871..b6fc147 100644 --- a/source/poefilter.cpp +++ b/source/poefilter.cpp @@ -23,7 +23,7 @@ int PoeFilter::main() if(!i->second.is_abstract()) { IO::BufferedFile out(i->first+".filter", IO::M_WRITE); - i->second.write(out, theme); + i->second.write(out); } return 0; @@ -57,8 +57,8 @@ PoeFilter::Loader::Loader(PoeFilter &f): void PoeFilter::Loader::category(const string &name) { - Category cat; - load_sub(cat); + Category cat(name); + load_sub(cat, obj); obj.categories[name] = cat; }