diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-20 16:47:35 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-20 16:47:35 +0200 |
| commit | bc97b2b790eb06d8f9adb8ef8fa41874d7d19770 (patch) | |
| tree | a6929db78467c2b07877abb9d9aad579d77139bb /dev/kernel/src/KString.cc | |
| parent | 699e395505a602f4a731c481646233d87f87a85c (diff) | |
kernel, dev: python script to make an ESP from files.
- Started implementing the wrt_* APIs (Wide string functions)
- Make user.sys link now, need to implement more syscalls.
- Tiny HEFS refactors too.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/src/KString.cc')
| -rw-r--r-- | dev/kernel/src/KString.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/kernel/src/KString.cc b/dev/kernel/src/KString.cc index 2f81ad3d..cb21e003 100644 --- a/dev/kernel/src/KString.cc +++ b/dev/kernel/src/KString.cc @@ -146,7 +146,7 @@ namespace Kernel /// @note This is unsafe!!! bool KStringBuilder::Equals(const Utf16Char* lhs, const Utf16Char* rhs) { - for (Size index = 0; index[rhs] != 0; ++index) + for (Size index = 0; index < wrt_string_len(rhs); ++index) { if (rhs[index] != lhs[index]) return false; |
