diff options
author | rubidium <rubidium@openttd.org> | 2009-04-26 15:42:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-26 15:42:45 +0000 |
commit | 85b653bafcee2a7687cbbebb7a0d65aa9ae8081b (patch) | |
tree | fc9d6c7002a5a271f9d586dbc0e844b439d05a8a /src/network/network_content_gui.cpp | |
parent | 7dd677ced22abb688b2ed69f99faed211f3554b1 (diff) | |
download | openttd-85b653bafcee2a7687cbbebb7a0d65aa9ae8081b.tar.xz |
(svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...).
Diffstat (limited to 'src/network/network_content_gui.cpp')
-rw-r--r-- | src/network/network_content_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index 2726c7144..a15ac08f7 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -423,8 +423,7 @@ public: StringID str = STR_CONTENT_TYPE_BASE_GRAPHICS + ci->type - CONTENT_TYPE_BASE_GRAPHICS; DrawString(this->widget[NCLWW_TYPE].left, this->widget[NCLWW_TYPE].right, y, str, TC_BLACK, SA_CENTER); - SetDParamStr(0, ci->name); - DrawString(this->widget[NCLWW_NAME].left + 5, this->widget[NCLWW_NAME].right, y, STR_JUST_RAW_STRING, TC_BLACK); + DrawString(this->widget[NCLWW_NAME].left + 5, this->widget[NCLWW_NAME].right, y, ci->name, TC_BLACK); y += this->resize.step_height; } |