summaryrefslogtreecommitdiff
path: root/shared/shadow.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:10:11 +0200
commitc0cdb2ad99a1e2a6ade5ce76c91177a79258e669 (patch)
tree4701a015385d9a6a5a4ba99a8f1f5d400fff26b1 /shared/shadow.cpp
parent3.13 (diff)
downloadFreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.gz
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.tar.bz2
FreeFileSync-c0cdb2ad99a1e2a6ade5ce76c91177a79258e669.zip
3.14
Diffstat (limited to 'shared/shadow.cpp')
-rw-r--r--shared/shadow.cpp18
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("\")"));
bgstack15