minor fix..

This commit is contained in:
Steve Dudenhoeffer 2004-10-20 15:55:59 +00:00
parent 89eda75b1f
commit 46390b83ac

View File

@ -40,12 +40,12 @@ stock Float:set_private_f(index, offset, Float:value, linuxdiff=5)
} }
stock make_string(value[]) stock make_string(value[])
return EngFunc(EngFunc_AllocString,value) return engfunc(EngFunc_AllocString,value)
stock string(value, ret[]) stock string(value, ret[])
{ {
new szString[128] // gah... new szString[128] // gah...
EngFunc(EngFunc_SzFromIndex,value,szString,127) engfunc(EngFunc_SzFromIndex,value,szString,127)
copy(ret,szString,127) copy(ret,szString,127)
} }