diff options
-rwxr-xr-x | src/sysync_SDK/Sources/enginemodulebase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysync_SDK/Sources/enginemodulebase.cpp b/src/sysync_SDK/Sources/enginemodulebase.cpp index 9fd88a5..64ace6c 100755 --- a/src/sysync_SDK/Sources/enginemodulebase.cpp +++ b/src/sysync_SDK/Sources/enginemodulebase.cpp @@ -118,7 +118,7 @@ TSyError TEngineModuleBase::GetStrValue( KeyH aKeyH, cAppCharP aValName, string err= GetValue( aKeyH, aValName, VALTYPE_TEXT, f, txtSize+1, txtSize ); // no error anymore } // if - aText= f; // assign it + aText.assign(f, txtSize); // assign it if (tooShort) free( f ); // and deallocate again, if used dynamically |