diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/IcePatch2/Calc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/Calc.cpp b/cpp/src/IcePatch2/Calc.cpp index 7400b3791b0..6114323a70f 100644 --- a/cpp/src/IcePatch2/Calc.cpp +++ b/cpp/src/IcePatch2/Calc.cpp @@ -124,7 +124,7 @@ main(int argc, char* argv[]) { char cwd[_MAX_PATH]; if(_getcwd(cwd, _MAX_PATH) == NULL) -y { + { throw "cannot get the current directory:\n" + lastError(); } |