From 7c4b1d53a4ce8cf43fb36dfd84c45b8d274f4faa Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 9 Oct 2013 11:31:56 +0100 Subject: [PATCH] Windows typo. --- src/lib/cross.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 47b97baec..47f07cf9d 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -236,14 +236,13 @@ boost::filesystem::path openssl_path () { #ifdef DCPOMATIC_WINDOWS - wchar_t dir[512]; GetModuleFileName (GetModuleHandle (0), dir, sizeof (dir)); PathRemoveFileSpec (dir); boost::filesystem::path path = dir; path /= "openssl.exe"; - return path + return path; #else /* We assume that it's on the path for Linux and OS X */ return "openssl"; -- 2.30.2