summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-06-27 20:53:45 +0000
committeralberth <alberth@openttd.org>2009-06-27 20:53:45 +0000
commit9b070b5405d11c74d89a747e912e627e39850f7c (patch)
tree5143dbacaa7e860b2253b091bd195f4e2d287efc /src/strings.cpp
parent812ad41f23b7ed52a161ed15b15a2af3a7edb41f (diff)
downloadopenttd-9b070b5405d11c74d89a747e912e627e39850f7c.tar.xz
(svn r16677) -Codechange: Dimension width and height are unsigned.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 861efedf2..edf7d8819 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1210,7 +1210,7 @@ static char *GetSpecialNameString(char *buff, int ind, int64 *argv, const char *
if (IsInsideMM(ind, (SPECSTR_RESOLUTION_START - 0x70E4), (SPECSTR_RESOLUTION_END - 0x70E4) + 1)) {
int i = ind - (SPECSTR_RESOLUTION_START - 0x70E4);
buff += seprintf(
- buff, last, "%dx%d", _resolutions[i].width, _resolutions[i].height
+ buff, last, "%ux%u", _resolutions[i].width, _resolutions[i].height
);
return buff;
}