From 28ce6f01fd0f9d29e8fd029c09dc722fd624ac5f Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 6 Jan 2025 20:50:57 +0200 Subject: [PATCH] Add statefile_path trailing path separator if missing --- od-win32/win32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/od-win32/win32.cpp b/od-win32/win32.cpp index 56fd406e..b423d8ea 100644 --- a/od-win32/win32.cpp +++ b/od-win32/win32.cpp @@ -5115,6 +5115,7 @@ void fetch_statefilepath(TCHAR *out, int size) { if (path_statefile[0]) { _tcsncpy(out, path_statefile, size); + fixtrailing(out); return; } fetch_path(_T("StatefilePath"), out, size); -- 2.47.3