Codechange: use std::string as script API return type
This commit is contained in:
@@ -282,7 +282,7 @@ protected:
|
||||
/**
|
||||
* Get an allocated string with all control codes stripped off.
|
||||
*/
|
||||
static char *GetString(StringID string);
|
||||
static std::string GetString(StringID string);
|
||||
|
||||
private:
|
||||
/* Helper functions for DoCommand. */
|
||||
|
Reference in New Issue
Block a user