diff options
author | Jacques Lucke <jacques@blender.org> | 2020-12-15 14:01:45 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-15 14:01:45 +0300 |
commit | 1b130f17c9b2b82177b02f64d7e9189ff175f28c (patch) | |
tree | 0671581f878eff0e8459217fe4b13f944745f2ee /intern/ghost | |
parent | 35368e8bfc5f9811f3a519b2262124ebe9ccf9e0 (diff) |
Cleanup: make format
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemPathsUnix.cpp | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_SystemPathsUnix.cpp b/intern/ghost/intern/GHOST_SystemPathsUnix.cpp index 16b092a9e5e..fdfde13b915 100644 --- a/intern/ghost/intern/GHOST_SystemPathsUnix.cpp +++ b/intern/ghost/intern/GHOST_SystemPathsUnix.cpp @@ -153,7 +153,7 @@ const GHOST_TUns8 *GHOST_SystemPathsUnix::getUserSpecialDir(GHOST_TUserSpecialDi char c = fgetc(fstream); /* xdg-user-dir ends the path with '\n'. */ if (c == '\n') { - break; + break; } path_stream << c; } diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index 4d4083cf229..d2aebab026f 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -2093,9 +2093,10 @@ GHOST_TSuccess GHOST_SystemWin32::showMessageBox(const char *title, config.cbSize = sizeof(config); config.hInstance = 0; config.dwCommonButtons = 0; - config.pszMainIcon = (dialog_options & GHOST_DialogError ? TD_ERROR_ICON : - dialog_options & GHOST_DialogWarning ? TD_WARNING_ICON : - TD_INFORMATION_ICON); + config.pszMainIcon = (dialog_options & GHOST_DialogError ? + TD_ERROR_ICON : + dialog_options & GHOST_DialogWarning ? TD_WARNING_ICON : + TD_INFORMATION_ICON); config.pszWindowTitle = L"Blender"; config.pszMainInstruction = title_16; config.pszContent = message_16; |