mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Fix some plString vararg parameters in normally-disabled code
This commit is contained in:
@ -1194,7 +1194,7 @@ void PythonInterface::initPython()
|
||||
getOutputAndReset(&error);
|
||||
}
|
||||
|
||||
#ifndef BUILDING_PYPLASMA
|
||||
#ifndef BUILDING_PYPLASMA
|
||||
// Begin PEP 302 Import Hook stuff
|
||||
// We need to create a ptImportHook object
|
||||
ptImportHook* hook = PyObject_New(ptImportHook, &ptImportHook_type);
|
||||
|
@ -79,7 +79,7 @@ static int IsTracked(const plKeyData* keyData)
|
||||
{
|
||||
if( mlfTrack && keyData )
|
||||
{
|
||||
if( keyData->GetUoid().GetObjectName() && !stricmp(keyData->GetUoid().GetObjectName(), keyNameToLookFor)
|
||||
if( !keyData->GetUoid().GetObjectName().CompareI(keyNameToLookFor)
|
||||
&& (keyData->GetUoid().GetClassType() == CLASS_TO_TRACK) )
|
||||
{
|
||||
if( (kCloneID < 0)
|
||||
@ -180,9 +180,12 @@ plKey &plKey::operator=( const plKey &rhs )
|
||||
{
|
||||
char msg[ 512 ];
|
||||
if (fKeyData == nil)
|
||||
sprintf( msg, "=: Key %s %s is being assigned to a nil key", keyNameToLookFor, CloneString(rhs.fKeyData) );
|
||||
sprintf( msg, "=: Key %s %s is being assigned to a nil key",
|
||||
keyNameToLookFor, CloneString(rhs.fKeyData) );
|
||||
else
|
||||
sprintf( msg, "=: Key %s %s is being assigned to %s", keyNameToLookFor, CloneString(rhs.fKeyData), fKeyData->GetUoid().GetObjectName() );
|
||||
sprintf( msg, "=: Key %s %s is being assigned to %s",
|
||||
keyNameToLookFor, CloneString(rhs.fKeyData),
|
||||
fKeyData->GetUoid().GetObjectName().c_str() );
|
||||
//hsAssert( false, msg );
|
||||
hsStatusMessageF(msg);
|
||||
}
|
||||
@ -190,9 +193,12 @@ plKey &plKey::operator=( const plKey &rhs )
|
||||
{
|
||||
char msg[ 512 ];
|
||||
if (fKeyData == nil)
|
||||
sprintf( msg, "=: Nil key is being assigned to %s %s", keyNameToLookFor, CloneString(fKeyData) );
|
||||
sprintf( msg, "=: Nil key is being assigned to %s %s",
|
||||
keyNameToLookFor, CloneString(fKeyData) );
|
||||
else
|
||||
sprintf( msg, "=: Key %s %s is being assigned to %s", fKeyData->GetUoid().GetObjectName(), CloneString(fKeyData), keyNameToLookFor );
|
||||
sprintf( msg, "=: Key %s %s is being assigned to %s",
|
||||
fKeyData->GetUoid().GetObjectName().c_str(),
|
||||
CloneString(fKeyData), keyNameToLookFor );
|
||||
//hsAssert( false, msg );
|
||||
hsStatusMessageF(msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user