]> git.jsancho.org Git - lugaru.git/blobdiff - Source/MacCompatibility.cpp
Added braces to all statements with clang-tidy and ran clang-format again
[lugaru.git] / Source / MacCompatibility.cpp
index dc1ad47ede75df9ef573d30f74f97b681724282f..4ed303322a9f854cd1348c969978719d1cad4d61 100644 (file)
@@ -94,8 +94,9 @@ Duration AbsoluteDeltaToDuration(AbsoluteTime& a, AbsoluteTime& b)
     value2 |= b.lo;
     value -= value2;
 
-    if (value <= 0)
+    if (value <= 0) {
         return durationImmediate;
+    }
 
     __int64 frac = value % g_appTime.counterRate;
     value /= g_appTime.counterRate;