summaryrefslogtreecommitdiff
path: root/zen/osx_throw_exception.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:30:04 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:30:04 +0200
commit4cfb31bf6abb2d42181e78e8d0758cf74a8a774a (patch)
tree9dca518008e4811b84b9a670df5b5ebcbc2a9dd5 /zen/osx_throw_exception.h
parent5.23 (diff)
downloadFreeFileSync-4cfb31bf6abb2d42181e78e8d0758cf74a8a774a.tar.gz
FreeFileSync-4cfb31bf6abb2d42181e78e8d0758cf74a8a774a.tar.bz2
FreeFileSync-4cfb31bf6abb2d42181e78e8d0758cf74a8a774a.zip
6.0
Diffstat (limited to 'zen/osx_throw_exception.h')
-rw-r--r--zen/osx_throw_exception.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/osx_throw_exception.h b/zen/osx_throw_exception.h
index 018e9456..07e3af3e 100644
--- a/zen/osx_throw_exception.h
+++ b/zen/osx_throw_exception.h
@@ -35,9 +35,9 @@ inline
void throwSysError(NSException* e) //throw SysError
{
std::string msg;
-if (const char* name = [[e name ] cStringUsingEncoding:NSUTF8StringEncoding]) //"const char*" NOT owned by us!
+ if (const char* name = [[e name ] cStringUsingEncoding:NSUTF8StringEncoding]) //"const char*" NOT owned by us!
msg += name;
-if (const char* descr = [[e reason] cStringUsingEncoding:NSUTF8StringEncoding])
+ if (const char* descr = [[e reason] cStringUsingEncoding:NSUTF8StringEncoding])
{
msg += "\n";
msg += descr;
bgstack15