fixed minor writing error

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3864 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2003-07-06 02:48:14 +00:00
parent a1a685089b
commit 5d46a49425
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ StyledEditView::WriteStyledEditFile(BFile * file, uint32 charSet)
}
file->Write(buffer,written);
sourceLength -= length;
outText += length;
}
file->WriteAttr("be:encoding",B_INT32_TYPE,0,&id,sizeof(id));
}