summaryrefslogtreecommitdiff
path: root/src/network/network_content_gui.h
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-06-14 16:16:10 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-15 06:13:00 +0200
commit05005dcdfa4f2d0c8fe2e0f0a92103dccd4691ab (patch)
treed041ef69332157bb7b166007812bd3033a03b44d /src/network/network_content_gui.h
parent981cd0197a8f180dd3a29e83d1c088dcb52e4920 (diff)
downloadopenttd-05005dcdfa4f2d0c8fe2e0f0a92103dccd4691ab.tar.xz
Codechange: [Network] Use std::string instead of char[] for the name of the file that is downloading
Diffstat (limited to 'src/network/network_content_gui.h')
-rw-r--r--src/network/network_content_gui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_content_gui.h b/src/network/network_content_gui.h
index dd9d9cfdf..54fbcc36b 100644
--- a/src/network/network_content_gui.h
+++ b/src/network/network_content_gui.h
@@ -22,8 +22,8 @@ protected:
uint total_files; ///< Number of files to download
uint downloaded_files; ///< Number of files downloaded
- uint32 cur_id; ///< The current ID of the downloaded file
- char name[48]; ///< The current name of the downloaded file
+ uint32 cur_id; ///< The current ID of the downloaded file
+ std::string name; ///< The current name of the downloaded file
public:
/**