From 85b653bafcee2a7687cbbebb7a0d65aa9ae8081b Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 26 Apr 2009 15:42:45 +0000 Subject: (svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...). --- src/genworld_gui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/genworld_gui.cpp') diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index bd2ed937a..f9c6082f8 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -645,8 +645,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { int right = DrawString(0, 326, 91, STR_HEIGHTMAP_SIZE, TC_FROMSTRING, SA_RIGHT); DrawString( 12, 114, 91, STR_HEIGHTMAP_NAME); - SetDParamStr(0, this->name); - DrawString(114, right - 5, 91, STR_JUST_RAW_STRING, TC_ORANGE); + DrawString(114, right - 5, 91, this->name, TC_ORANGE); } } -- cgit v1.2.3-54-g00ecf