From 9e2ec6aa3e241819296237471e95d7fb1297bd16 Mon Sep 17 00:00:00 2001 From: prefect Date: Thu, 3 Nov 2005 22:51:14 +0000 Subject: [PATCH] Wide to Multi-byte conversion needs some hinting. This was SVN commit r3089. --- source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp b/source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp index 62e723a968..9084a5f273 100644 --- a/source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp +++ b/source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp @@ -20,7 +20,7 @@ QUERYHANDLER(GetTerrainGroups) QUERYHANDLER(GetTerrainGroupPreviews) { - CTerrainGroup* group = g_TexMan.FindGroup(msg->groupname); + CTerrainGroup* group = g_TexMan.FindGroup(CStrW(msg->groupname)); for (std::vector::const_iterator it = group->GetTerrains().begin(); it != group->GetTerrains().end(); ++it) { msg->previews.push_back(AtlasMessage::sTerrainGroupPreview());