diff options
Diffstat (limited to 'engines/wintermute/utils')
-rw-r--r-- | engines/wintermute/utils/utils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/utils/utils.cpp b/engines/wintermute/utils/utils.cpp index 845c2e21c6..2f66313bb0 100644 --- a/engines/wintermute/utils/utils.cpp +++ b/engines/wintermute/utils/utils.cpp @@ -120,11 +120,11 @@ void CBUtils::DebugMessage(HWND hWnd, const char *Text) { //////////////////////////////////////////////////////////////////////////
-char *CBUtils::SetString(char **String, const char *Value) {
- delete[] *String;
- *String = new char[strlen(Value) + 1];
- if (*String) strcpy(*String, Value);
- return *String;
+char *CBUtils::SetString(char **string, const char *value) {
+ delete[] *string;
+ *string = new char[strlen(value) + 1];
+ if (*string) strcpy(*string, value);
+ return *string;
}
//////////////////////////////////////////////////////////////////////////
|