From c8a96963a8a7d99107ded14e4cc963e9430bf4e0 Mon Sep 17 00:00:00 2001 From: Amorilia <amorilia@users.sourceforge.net> Date: Tue, 25 Oct 2005 21:29:40 +0000 Subject: [PATCH] fixed small error in NiStringExtraData asString() function --- NIF_Blocks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NIF_Blocks.cpp b/NIF_Blocks.cpp index dea34873..3007fdc6 100644 --- a/NIF_Blocks.cpp +++ b/NIF_Blocks.cpp @@ -1805,7 +1805,7 @@ string NiStringExtraData::asString() { attr_ref string_data = GetAttr("String Data"); out << next_data->GetName() << ": " << next_data->asLink() << endl - << "Bytes Remaining: " << uint(strData.length()) + 4 << endl + << "Bytes Remaining: " << uint(string_data->asString().length()) + 4 << endl << string_data->GetName() << ": " << string_data->asString() << endl; return out.str(); -- GitLab