diff options
Diffstat (limited to '')
-rw-r--r-- | src/tests/taf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/taf.cpp b/src/tests/taf.cpp index e7bad52..d135e78 100644 --- a/src/tests/taf.cpp +++ b/src/tests/taf.cpp | |||
@@ -8,7 +8,7 @@ int main() | |||
8 | 8 | ||
9 | Bu::TafNode *pNode = tr.getNode(); | 9 | Bu::TafNode *pNode = tr.getNode(); |
10 | 10 | ||
11 | const Bu::TafNode *pStats = pNode->getNode("stats"); | 11 | const Bu::TafNode *pStats = pNode->getChild("stats"); |
12 | printf("%s\n", pStats->getName().getStr() ); | 12 | printf("%s\n", pStats->getName().getStr() ); |
13 | printf(" str = %s\n", pStats->getProperty("str").getStr() ); | 13 | printf(" str = %s\n", pStats->getProperty("str").getStr() ); |
14 | 14 | ||