Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2c0420e

Browse files
committedFeb 24, 2024·
Fix tabs
1 parent bab84f0 commit 2c0420e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎native/common/jp_platform.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ class Win32PlatformAdapter : public JPPlatformAdapter
6464
virtual void loadLibrary(const char* path) override
6565
{
6666
JP_TRACE_IN("Win32PlatformAdapter::loadLibrary");
67-
wchar_t *wpath = Py_DecodeLocale(path, NULL);
68-
if (wpath == NULL)
69-
{
70-
JP_RAISE(PyExc_SystemError, "Unable to get JVM path with locale.");
71-
}
67+
wchar_t *wpath = Py_DecodeLocale(path, NULL);
68+
if (wpath == NULL)
69+
{
70+
JP_RAISE(PyExc_SystemError, "Unable to get JVM path with locale.");
71+
}
7272
jvmLibrary = LoadLibraryW(wpath);
73-
PyMem_RawFree(wpath);
73+
PyMem_RawFree(wpath);
7474
if (jvmLibrary == NULL)
7575
{
7676
JP_RAISE_OS_ERROR_WINDOWS( GetLastError(), path);

0 commit comments

Comments
 (0)
Please sign in to comment.