diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | 76b3632d13bbf57c6354bc10f67ea849f1d47279 (patch) | |
tree | b7e36fe675f6ffa01364d47ca70422c4cbbd032a /src/files.cc | |
parent | 46f69654774b0eb51bd4706cf7fd9d11fbc8eec8 (diff) |
Rework player_race_mod::{title,desc} to std::string
Diffstat (limited to 'src/files.cc')
-rw-r--r-- | src/files.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.cc b/src/files.cc index ec569e73..8d489d0c 100644 --- a/src/files.cc +++ b/src/files.cc @@ -900,7 +900,7 @@ static cptr process_pref_file_expr(char **sp, char *fp) /* Race */ else if (streq(b + 1, "RACEMOD")) { - v = rmp_ptr->title; + v = rmp_ptr->title.c_str(); // The string SHOULD be stable enough for this } /* Class */ |