From 2c0420edfe1328636e2621f0dd1231a1ea7318d0 Mon Sep 17 00:00:00 2001 From: Karl Nelson Date: Sat, 24 Feb 2024 10:18:10 -0800 Subject: [PATCH] Fix tabs --- native/common/jp_platform.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/native/common/jp_platform.cpp b/native/common/jp_platform.cpp index 005144b2..1501e1fb 100644 --- a/native/common/jp_platform.cpp +++ b/native/common/jp_platform.cpp @@ -64,13 +64,13 @@ class Win32PlatformAdapter : public JPPlatformAdapter virtual void loadLibrary(const char* path) override { JP_TRACE_IN("Win32PlatformAdapter::loadLibrary"); - wchar_t *wpath = Py_DecodeLocale(path, NULL); - if (wpath == NULL) - { - JP_RAISE(PyExc_SystemError, "Unable to get JVM path with locale."); - } + wchar_t *wpath = Py_DecodeLocale(path, NULL); + if (wpath == NULL) + { + JP_RAISE(PyExc_SystemError, "Unable to get JVM path with locale."); + } jvmLibrary = LoadLibraryW(wpath); - PyMem_RawFree(wpath); + PyMem_RawFree(wpath); if (jvmLibrary == NULL) { JP_RAISE_OS_ERROR_WINDOWS( GetLastError(), path);