From dc8b7d0d5cba4b553cb7d3737371c482cbde43e7 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 6 Dec 2016 20:26:26 +0100 Subject: [PATCH] Changed: Use _M and _T macros --- code/nel/tools/3d/plugin_max/nel_patch_edit/np.cpp | 6 +++--- code/nel/tools/3d/plugin_max/nel_patch_paint/DllEntry.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/nel/tools/3d/plugin_max/nel_patch_edit/np.cpp b/code/nel/tools/3d/plugin_max/nel_patch_edit/np.cpp index 980bb64d8..2d1fbd707 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_edit/np.cpp +++ b/code/nel/tools/3d/plugin_max/nel_patch_edit/np.cpp @@ -589,10 +589,10 @@ void EditPatchMod::UpdateSelectDisplay() for (j = 0; j < thePatch->tileSel.GetSize(); j++) if (thePatch->tileSel[j]) break; - buf.printf("Tile %d Selected", j + 1); + buf.printf(_T("Tile %d Selected"), j + 1); } else - buf.printf("%d Tiles Selected", num); + buf.printf(_T("%d Tiles Selected"), num); } break; } @@ -733,7 +733,7 @@ void EditPatchMod::DoVertReset () } ResolveTopoChanges(); - theHold.Accept("Reset Vertex"); + theHold.Accept(_M("Reset Vertex")); /*if (holdNeeded) { ResolveTopoChanges(); diff --git a/code/nel/tools/3d/plugin_max/nel_patch_paint/DllEntry.cpp b/code/nel/tools/3d/plugin_max/nel_patch_paint/DllEntry.cpp index 7afde8938..549c033ae 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_paint/DllEntry.cpp +++ b/code/nel/tools/3d/plugin_max/nel_patch_paint/DllEntry.cpp @@ -64,7 +64,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL,ULONG fdwReason,LPVOID lpvReserved) __declspec( dllexport ) const TCHAR * LibDescription() { - return "NeL patch painter"; + return _T("NeL patch painter"); }