Gems/Gestures
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -101,7 +101,7 @@ public: // member functions
|
||||
|
||||
//! Save this canvas to the given path in XML
|
||||
//! \return true if no error
|
||||
virtual bool SaveToXml(const string& assetIdPathname, const string& sourceAssetPathname) = 0;
|
||||
virtual bool SaveToXml(const AZStd::string& assetIdPathname, const AZStd::string& sourceAssetPathname) = 0;
|
||||
|
||||
//! Initialize a set of entities that have been added to the canvas
|
||||
//! Used when instantiating a slice or for undo/redo, copy/paste
|
||||
|
||||
@@ -2911,9 +2911,9 @@ void CXConsole::Paste()
|
||||
if (cp != '\r')
|
||||
{
|
||||
// Convert UCS code-point into UTF-8 string
|
||||
char utf8_buf[5] = {0};
|
||||
AZStd::fixed_string<5> utf8_buf = {0};
|
||||
size_t size = 5;
|
||||
it.to_utf8_sequence(cp, utf8_buf, size);
|
||||
it.to_utf8_sequence(cp, utf8_buf.data(), size);
|
||||
AddInputUTF8(utf8_buf);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user