]> git.mxchange.org Git - simgear.git/commitdiff
Fix a typo breaking Mac build.
authorJames Turner <zakalawe@mac.com>
Sun, 15 Dec 2013 20:55:02 +0000 (20:55 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 15 Dec 2013 20:55:02 +0000 (20:55 +0000)
simgear/misc/sg_path.cxx

index 36b7506d9b580ae610d07e8487cca63337b20207..e0572e19039c030fa57feca77a33661bb33c90e6 100644 (file)
@@ -677,7 +677,7 @@ SGPath SGPath::desktop(const SGPath& def)
 
   unsigned char path[1024];
   if (FSRefMakePath(&ref, path, 1024) != noErr)
-    return def
+      return def;
 
   return SGPath((const char*) path, def._permission_checker);
 }