From 46498d1f6437d07da1d31d23ed28cbd15b475c4a Mon Sep 17 00:00:00 2001 From: diafero Date: Mon, 22 Aug 2011 18:22:08 +0200 Subject: [PATCH] fix plResBrowser crash on file open --- Sources/Tools/plResBrowser/plResTreeView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Tools/plResBrowser/plResTreeView.cpp b/Sources/Tools/plResBrowser/plResTreeView.cpp index a9e80d02..4fa0a494 100644 --- a/Sources/Tools/plResBrowser/plResTreeView.cpp +++ b/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;