diff options
Diffstat (limited to 'shared/shadow.cpp')
-rw-r--r-- | shared/shadow.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/shared/shadow.cpp b/shared/shadow.cpp index 5a70bb6e..9dab1494 100644 --- a/shared/shadow.cpp +++ b/shared/shadow.cpp @@ -105,8 +105,8 @@ public: releaseShadowCopy = util::getDllFun<ReleaseShadowCopyFct>(getShadowDllName(), releaseShadowCopyFctName); //check if shadow copy dll was loaded correctly - if ( createShadowCopy == NULL || - releaseShadowCopy == NULL) + if (createShadowCopy == NULL || + releaseShadowCopy == NULL) throw FileError(wxString(_("Error starting Volume Shadow Copy Service!")) + wxT("\n") + _("Could not load a required DLL:") + wxT(" \"") + getShadowDllName().c_str() + wxT("\"")); @@ -117,18 +117,18 @@ public: throw FileError(wxString(_("Error starting Volume Shadow Copy Service!")) + wxT("\n") + _("Making shadow copies on WOW64 is not supported. Please use FreeFileSync 64-bit version.")); -//--------------------------------------------------------------------------------------------------------- + //--------------------------------------------------------------------------------------------------------- //start shadow volume copy service: wchar_t shadowVolName[1000]; wchar_t errorMessage[1000]; if (!createShadowCopy( - volumeNameFormatted.c_str(), - shadowVolName, - 1000, - &backupHandle, - errorMessage, - 1000)) + volumeNameFormatted.c_str(), + shadowVolName, + 1000, + &backupHandle, + errorMessage, + 1000)) throw FileError(wxString(_("Error starting Volume Shadow Copy Service!")) + wxT("\n") + wxT("(") + errorMessage + wxT(" Volume: \"") + volumeNameFormatted.c_str() + wxT("\")")); |