From 55bffa82da30a186bd952d0c140829374c2992e4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 24 Jun 2021 15:40:16 +1000 Subject: Cleanup: clang-format, spelling --- intern/ghost/intern/GHOST_SystemWin32.cpp | 2 +- source/blender/blenloader/BLO_readfile.h | 8 ++++---- source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index a70e5b91674..2eecea2ef5d 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -1893,7 +1893,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam, case WM_DISPLAYCHANGE: { GHOST_Wintab *wt = window->getWintab(); if (wt) { - wt->remapCoordinates(); + wt->remapCoordinates(); } break; } diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 307c09f8ff5..c2ac2df1f84 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -82,18 +82,18 @@ typedef struct BlendFileData { } BlendFileData; struct BlendFileReadParams { - uint skip_flags : 3; /* eBLOReadSkip */ + uint skip_flags : 3; /* #eBLOReadSkip */ uint is_startup : 1; /** Whether we are reading the memfile for an undo or a redo. */ - int undo_direction; /* eUndoStepDir */ + int undo_direction; /* #eUndoStepDir */ }; typedef struct BlendFileReadReport { /* General reports handling. */ struct ReportList *reports; - /* Timing informations .*/ + /* Timing information. */ struct { double whole; double libraries; @@ -102,7 +102,7 @@ typedef struct BlendFileReadReport { double lib_overrides_recursive_resync; } duration; - /* Count informations. */ + /* Count information. */ struct { /* Some numbers of IDs that ended up in a specific state, or required some specific process * during this file read. */ diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c index 0b5003e5f2d..dffa6fce395 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c +++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c @@ -1921,7 +1921,7 @@ static bool lineart_geometry_check_visible(double (*model_view_proj)[4], Object } bool cond[6] = {true, true, true, true, true, true}; - /* Beause for a point to be inside clip space, it must satisfy -Wc <= XYCc <= Wc, here if all + /* Because for a point to be inside clip space, it must satisfy `-Wc <= XYCc <= Wc`, here if all * verts falls to the same side of the clip space border, we know it's outside view. */ for (int i = 0; i < 8; i++) { cond[0] &= (co[i][0] < -co[i][3]); -- cgit v1.2.3