Prechádzať zdrojové kódy

...and update the profiler strings

Ben Payne 10 rokov pred
rodič
commit
47950382f7
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      Engine/source/core/strings/unicode.cpp

+ 2 - 2
Engine/source/core/strings/unicode.cpp

@@ -244,7 +244,7 @@ U32 convertUTF16toUTF8DoubleNULL( const UTF16 *unistring, UTF8  *outbuffer, U32
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 UTF16* createUTF16string( const UTF8* unistring)
 UTF16* createUTF16string( const UTF8* unistring)
 {
 {
-   PROFILE_SCOPE(convertUTF8toUTF16_create);
+   PROFILE_SCOPE(createUTF16string);
    
    
    // allocate plenty of memory.
    // allocate plenty of memory.
    U32 nCodepoints, len = dStrlen(unistring) + 1;
    U32 nCodepoints, len = dStrlen(unistring) + 1;
@@ -266,7 +266,7 @@ UTF16* createUTF16string( const UTF8* unistring)
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 UTF8*  createUTF8string( const UTF16* unistring)
 UTF8*  createUTF8string( const UTF16* unistring)
 {
 {
-   PROFILE_SCOPE(convertUTF16toUTF8_create);
+   PROFILE_SCOPE(createUTF8string);
 
 
    // allocate plenty of memory.
    // allocate plenty of memory.
    U32 nCodeunits, len = dStrlen(unistring) * 3 + 1;
    U32 nCodeunits, len = dStrlen(unistring) * 3 + 1;