Skip to content
Browse files

one more sprintf that should be scprintf, thanks Alex Shaw

  • Loading branch information...
1 parent 08fcf09 commit 2a8008a798468003fb317f160b8f22e415e67c94 @danstowell danstowell committed Mar 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 common/Source/server/SC_GraphDef.cpp
View
2 common/Source/server/SC_GraphDef.cpp
@@ -104,7 +104,7 @@ void UnitSpec_Read(UnitSpec* inUnitSpec, char*& buffer)
inUnitSpec->mUnitDef = GetUnitDef(name);
if (!inUnitSpec->mUnitDef) {
char str[256];
- sprintf(str, "UGen '%s' not installed.", (char*)name);
+ scprintf(str, "UGen '%s' not installed.", (char*)name);
throw std::runtime_error(str);
return;
}

0 comments on commit 2a8008a

Please sign in to comment.
Something went wrong with that request. Please try again.