summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/wiiyourself/wiimote.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-24 17:52:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-24 17:52:54 +0100
commitc49f746e601eed496ff4cf117f5d01cd88d99a78 (patch)
tree5776801c75f423af5a02cf48f76ea7577bff73c3 /tracker-wii/wiiyourself/wiimote.cpp
parent41f90967c05af5be788183da3cf71a02bd5c2d30 (diff)
tracker/wii: reindentopentrack-2.3.11-beta3
Diffstat (limited to 'tracker-wii/wiiyourself/wiimote.cpp')
-rw-r--r--tracker-wii/wiiyourself/wiimote.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/tracker-wii/wiiyourself/wiimote.cpp b/tracker-wii/wiiyourself/wiimote.cpp
index f154a198..f3fcd81f 100644
--- a/tracker-wii/wiiyourself/wiimote.cpp
+++ b/tracker-wii/wiiyourself/wiimote.cpp
@@ -68,23 +68,23 @@ template<class T> inline T square(const T& val) { return val * val; }
// ------------------------------------------------------------------------------------
static void trace_(const char* fmt, ...)
{
- char buffer[256];
-
- if (!fmt)
- return;
-
- va_list ap;
- va_start(ap, fmt);
- vsnprintf(buffer, std::size(buffer), fmt, ap);
- va_end(ap);
-
- if (IsDebuggerPresent())
- OutputDebugString(buffer);
- else
- {
- fprintf(stderr, "%s\n", buffer);
- fflush(stderr);
- }
+ char buffer[256];
+
+ if (!fmt)
+ return;
+
+ va_list ap;
+ va_start(ap, fmt);
+ vsnprintf(buffer, std::size(buffer), fmt, ap);
+ va_end(ap);
+
+ if (IsDebuggerPresent())
+ OutputDebugString(buffer);
+ else
+ {
+ fprintf(stderr, "%s\n", buffer);
+ fflush(stderr);
+ }
}
// ------------------------------------------------------------------------------------