mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
fix(unicode): remove printdebug statement
This commit is contained in:
parent
eac2fa9de3
commit
c7e982eb81
1 changed files with 0 additions and 3 deletions
|
|
@ -262,7 +262,6 @@ done:
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
#include <cstdio>
|
|
||||||
|
|
||||||
int32_t SUniConvertUTF8to16(uint16_t* dst, uint32_t dstmaxchars, const uint8_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars) {
|
int32_t SUniConvertUTF8to16(uint16_t* dst, uint32_t dstmaxchars, const uint8_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars) {
|
||||||
auto srcend = srcmaxchars == STORM_MAX_STR ? reinterpret_cast<const uint8_t*>(UINTPTR_MAX) : src + srcmaxchars;
|
auto srcend = srcmaxchars == STORM_MAX_STR ? reinterpret_cast<const uint8_t*>(UINTPTR_MAX) : src + srcmaxchars;
|
||||||
|
|
@ -323,8 +322,6 @@ int32_t SUniConvertUTF8to16(uint16_t* dst, uint32_t dstmaxchars, const uint8_t*
|
||||||
src += width;
|
src += width;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("fail yure %p %p\n", src, srcend);
|
|
||||||
|
|
||||||
result = -1;
|
result = -1;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue