mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-02-22 20:02:17 +00:00
small fix for missing a byte
This commit is contained in:
parent
252d4fe6b4
commit
844545d1da
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void setSpecialLoad( eclass_t *e, const char* pWhat, char*& p ){
|
|||
if ( where ) {
|
||||
int len = ( where - pText );
|
||||
p = new char[len + 1];
|
||||
Q_strncpyz( p, pText, len );
|
||||
Q_strncpyz( p, pText, len + 1 );
|
||||
}
|
||||
else{
|
||||
p = strdup( pText );
|
||||
|
|
Loading…
Reference in a new issue