Fixed typo in core causing CS:GO build break.

This commit is contained in:
Nicholas Hastings 2013-01-22 22:23:40 -05:00
parent a9b6bcf779
commit e9f002e9c5

View File

@ -516,7 +516,7 @@ public:
CHECK_FIELD_NOT_REPEATED(); CHECK_FIELD_NOT_REPEATED();
std::string scratch; std::string scratch;
strncopy(out, msg->GetReflection()->GetStringReference(*msg, field, &buffer).c_str(), size); strncopy(out, msg->GetReflection()->GetStringReference(*msg, field, &scratch).c_str(), size);
return true; return true;
} }