From ab55120f90fea0a8d51ef60ad3c7deab8c6b5c99 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sat, 16 Jul 2022 16:22:13 +0100 Subject: [PATCH] Fix an amusing typo. :) This is a second commit, removing the white space processing my editor did. I thought I had made a PR but there is no record of it. Apologies if this is a duplicate. --- bypy/windows/portable-installer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bypy/windows/portable-installer.cpp b/bypy/windows/portable-installer.cpp index e695f43382..5244bc9d30 100644 --- a/bypy/windows/portable-installer.cpp +++ b/bypy/windows/portable-installer.cpp @@ -526,7 +526,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine WCHAR buf[4*MAX_PATH] = {0}, mb_msg[4*MAX_PATH] = {0}, fdest[4*MAX_PATH] = {0}; if (!load_data(&cdata, &csz)) return ret; - if (!IsWindows10OrGreater()) { show_error(L"Your version of Windows is tool old. calibre requires Windows 10 or greater."); return ret; } + if (!IsWindows10OrGreater()) { show_error(L"Your version of Windows is too old. calibre requires Windows 10 or greater."); return ret; } hr = CoInitialize(NULL); if (FAILED(hr)) { show_error(L"Failed to initialize COM"); return ret; }