mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-02-23 12:21:51 +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 ) {
|
if ( where ) {
|
||||||
int len = ( where - pText );
|
int len = ( where - pText );
|
||||||
p = new char[len + 1];
|
p = new char[len + 1];
|
||||||
Q_strncpyz( p, pText, len );
|
Q_strncpyz( p, pText, len + 1 );
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
p = strdup( pText );
|
p = strdup( pText );
|
||||||
|
|
Loading…
Reference in a new issue