Browse Source

fix plResBrowser crash on file open

diafero 14 years ago
parent
commit
46498d1f64
  1. 2
      Sources/Tools/plResBrowser/plResTreeView.cpp

2
Sources/Tools/plResBrowser/plResTreeView.cpp

@ -129,7 +129,7 @@ class plResDlgLoader : public plRegistryPageIterator, public plRegistryKeyIterat
fCurrPage = page;
const plPageInfo &info = page->GetPageInfo();
sprintf( str, "%s->%s->%s", info.GetAge(), info.GetPage() );
sprintf( str, "%s->%s", info.GetAge(), info.GetPage() );
fCurrItem = AddLeaf( fTree, NULL, str, new plKeyInfo( nil, fCurrPage ) );
fCurrType = (UInt16)-1;

Loading…
Cancel
Save