From: Carl Hetherington Date: Wed, 9 Oct 2013 10:31:56 +0000 (+0100) Subject: Windows typo. X-Git-Tag: v2.0.48~1325 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=7c4b1d53a4ce8cf43fb36dfd84c45b8d274f4faa Windows typo. --- 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";