summaryrefslogtreecommitdiff
path: root/src/tafreader.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-11-07 22:30:49 +0000
committerMike Buland <eichlan@xagasoft.com>2007-11-07 22:30:49 +0000
commitef5e980ae9ab4ddb47e79783455b78de4b90366a (patch)
tree1c5b436737f4c56d73e95d2366f08a0eaf36af37 /src/tafreader.cpp
parent72c44ec415ac3e2e4058a0104de28625101d5017 (diff)
downloadlibbu++-ef5e980ae9ab4ddb47e79783455b78de4b90366a.tar.gz
libbu++-ef5e980ae9ab4ddb47e79783455b78de4b90366a.tar.bz2
libbu++-ef5e980ae9ab4ddb47e79783455b78de4b90366a.tar.xz
libbu++-ef5e980ae9ab4ddb47e79783455b78de4b90366a.zip
Changed the way the Taf data is interpreted, anonymous properties now have no
name, but have a value, I did it the other way last time, and they were hard to find. I think I fixed the writer to work right too, but I haven't checked it yet.
Diffstat (limited to 'src/tafreader.cpp')
-rw-r--r--src/tafreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tafreader.cpp b/src/tafreader.cpp
index 0d28cd0..6441ac3 100644
--- a/src/tafreader.cpp
+++ b/src/tafreader.cpp
@@ -63,7 +63,7 @@ Bu::TafProperty *Bu::TafReader::readProperty()
63 if( c != '=' ) 63 if( c != '=' )
64 { 64 {
65 //printf(" %s (true)\n", sName.getStr() ); 65 //printf(" %s (true)\n", sName.getStr() );
66 return new Bu::TafProperty( sName, "" ); 66 return new Bu::TafProperty( "", sName );
67 } 67 }
68 next(); 68 next();
69 FString sValue = readStr(); 69 FString sValue = readStr();