diff options
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/macosx/crashlog_osx.cpp | 8 | ||||
-rw-r--r-- | src/os/unix/crashlog_unix.cpp | 8 | ||||
-rw-r--r-- | src/os/windows/crashlog_win.cpp | 12 |
3 files changed, 11 insertions, 17 deletions
diff --git a/src/os/macosx/crashlog_osx.cpp b/src/os/macosx/crashlog_osx.cpp index 77a363237..42c30dcd5 100644 --- a/src/os/macosx/crashlog_osx.cpp +++ b/src/os/macosx/crashlog_osx.cpp @@ -59,10 +59,10 @@ class CrashLogOSX : public CrashLog { return buffer + seprintf(buffer, last, "Operating system:\n" - " Name: Mac OS X\n" - " Release: %d.%d.%d\n" - " Machine: %s\n" - " Min Ver: %d\n\n", + " Name: Mac OS X\n" + " Release: %d.%d.%d\n" + " Machine: %s\n" + " Min Ver: %d\n", ver_maj, ver_min, ver_bug, arch != NULL ? arch->description : "unknown", MAC_OS_X_VERSION_MIN_REQUIRED diff --git a/src/os/unix/crashlog_unix.cpp b/src/os/unix/crashlog_unix.cpp index 72d023825..ee86cb5ee 100644 --- a/src/os/unix/crashlog_unix.cpp +++ b/src/os/unix/crashlog_unix.cpp @@ -43,10 +43,10 @@ class CrashLogUnix : public CrashLog { return buffer + seprintf(buffer, last, "Operating system:\n" - " Name: %s\n" - " Release: %s\n" - " Version: %s\n" - " Machine: %s\n\n", + " Name: %s\n" + " Release: %s\n" + " Version: %s\n" + " Machine: %s\n", name.sysname, name.release, name.version, diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp index 30a4cf7db..7656f7c26 100644 --- a/src/os/windows/crashlog_win.cpp +++ b/src/os/windows/crashlog_win.cpp @@ -78,18 +78,12 @@ public: return buffer + seprintf(buffer, last, "Operating system:\n" - " Name: Windows\n" - " Release: %d.%d.%d (%s)\n" - " MSVC: %s\n\n", + " Name: Windows\n" + " Release: %d.%d.%d (%s)\n", (int)os.dwMajorVersion, (int)os.dwMinorVersion, (int)os.dwBuildNumber, - os.szCSDVersion, -#if defined(_MSC_VER) - "Yes" -#else - "No" -#endif + os.szCSDVersion ); } |