Kumo
A hand-rolled game engine.
git clone https://git.sentomk.me/Kumo.git
commit 5cf1af290e82060b75b2d2c92c3856a047fea9bc parent 1d2203c5265791b8ab78fcf252d2e0487ff81e0f Author: sentomk <sentomk@proton.me> Date: Sat, 14 Nov 2026 16:19:43 +0800 style: apply clang-format to the builder and the Win32 window Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Diffstat:
| M | kumo_builder.cpp | | | 2 | +- |
| M | src/platform/window_win.cpp | | | 4 | ++-- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kumo_builder.cpp b/kumo_builder.cpp @@ -902,7 +902,7 @@ static ExitStatus wait_any(std::vector<Child>& running, size_t* index) { int raw = 0; pid_t done; do { - done = waitpid(-1, &raw, 0); // -1 means "any child" + done = waitpid(-1, &raw, 0); // -1 means "any child" } while (done < 0 && errno == EINTR); // retry if a signal interrupted us if (done < 0) { running.clear(); diff --git a/src/platform/window_win.cpp b/src/platform/window_win.cpp @@ -23,8 +23,8 @@ static constexpr wchar_t kWindowClass[] = L"KumoWindow"; static bool wide_title(const char* title, std::wstring& result) { if (title == nullptr) return false; - const int count = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, title, - -1, nullptr, 0); + const int count = + MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, title, -1, nullptr, 0); if (count == 0) return false; result.resize(static_cast<size_t>(count));
