Changeset 747 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/DataTable.cpp
- Timestamp:
- Sep 15, 2008, 4:41:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/DataTable.cpp
r700 r747 39 39 int DataTable::AddWString( const std::wstring &wstr ) 40 40 { 41 return AddBinary( wstr.c_str(), static_cast<int>( wstr.size()) + sizeof(wchar_t));41 return AddBinary( wstr.c_str(), static_cast<int>((wstr.length()+1)*sizeof(wchar_t))); 42 42 } 43 43 int DataTable::AddSpace( int size )
Note:
See TracChangeset
for help on using the changeset viewer.