diff options
-rw-r--r-- | intern/ghost/intern/GHOST_DropTargetWin32.cpp | 6 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.h | 6 | ||||
-rw-r--r-- | intern/guardedalloc/MEM_guardedalloc.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_volume.h | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_mode_rotate.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/intern/ghost/intern/GHOST_DropTargetWin32.cpp b/intern/ghost/intern/GHOST_DropTargetWin32.cpp index 6f39947ae6d..2283cff3827 100644 --- a/intern/ghost/intern/GHOST_DropTargetWin32.cpp +++ b/intern/ghost/intern/GHOST_DropTargetWin32.cpp @@ -212,8 +212,8 @@ void *GHOST_DropTargetWin32::getDropDataAsFilenames(IDataObject *pDataObject) STGMEDIUM stgmed; HDROP hdrop; - /* Check if dataobject supplies the format we want. - * Double checking here, first in getGhostType. */ + /* Check if data-object supplies the format we want. + * Double checking here, first in #getGhostType. */ if (pDataObject->QueryGetData(&fmtetc) == S_OK) { if (pDataObject->GetData(&fmtetc, &stgmed) == S_OK) { hdrop = (HDROP)::GlobalLock(stgmed.hGlobal); @@ -257,7 +257,7 @@ void *GHOST_DropTargetWin32::getDropDataAsString(IDataObject *pDataObject) STGMEDIUM stgmed; /* Try unicode first. - * Check if dataobject supplies the format we want. */ + * Check if data-object supplies the format we want. */ if (pDataObject->QueryGetData(&fmtetc) == S_OK) { if (pDataObject->GetData(&fmtetc, &stgmed) == S_OK) { LPCWSTR wstr = (LPCWSTR)::GlobalLock(stgmed.hGlobal); diff --git a/intern/ghost/intern/GHOST_SystemWin32.h b/intern/ghost/intern/GHOST_SystemWin32.h index 228be43636c..93b56a128c0 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.h +++ b/intern/ghost/intern/GHOST_SystemWin32.h @@ -467,9 +467,9 @@ inline void GHOST_SystemWin32::handleKeyboardChange(void) for (m_hasAltGr = false, i = 32; i < 256; ++i) { s = VkKeyScanEx((char)i, m_keylayout); - /* `s == -1` means no key that translates passed char code - * high byte contains shift state. bit 2 ctrl pressed, bit 4 alt pressed - * if both are pressed, we have AltGr keycombo on keylayout. */ + /* `s == -1` means no key that translates passed char code high byte contains shift state. + * bit 2 Control pressed, bit 4 `Alt` pressed if both are pressed, + * we have `AltGr` key-combination on key-layout. */ if (s != -1 && (s & 0x600) == 0x600) { m_hasAltGr = true; break; diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index a8c2d9abcc8..fdd77fb9eef 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -169,7 +169,7 @@ extern unsigned int (*MEM_get_memory_blocks_in_use)(void); /** Reset the peak memory statistic to zero. */ extern void (*MEM_reset_peak_memory)(void); -/** Get the peak memory usage in bytes, including mmap allocations. */ +/** Get the peak memory usage in bytes, including `mmap` allocations. */ extern size_t (*MEM_get_peak_memory)(void) ATTR_WARN_UNUSED_RESULT; #ifdef __GNUC__ diff --git a/source/blender/blenkernel/BKE_volume.h b/source/blender/blenkernel/BKE_volume.h index 4215cad5858..8549cd14b3c 100644 --- a/source/blender/blenkernel/BKE_volume.h +++ b/source/blender/blenkernel/BKE_volume.h @@ -135,7 +135,7 @@ struct VolumeGrid *BKE_volume_grid_add(struct Volume *volume, void BKE_volume_grid_remove(struct Volume *volume, struct VolumeGrid *grid); /** - * Openvdb crashes when the determinant of the transform matrix becomes too small. + * OpenVDB crashes when the determinant of the transform matrix becomes too small. */ bool BKE_volume_grid_determinant_valid(double determinant); diff --git a/source/blender/editors/transform/transform_mode_rotate.c b/source/blender/editors/transform/transform_mode_rotate.c index 18c517fa5b4..f3186b21cb9 100644 --- a/source/blender/editors/transform/transform_mode_rotate.c +++ b/source/blender/editors/transform/transform_mode_rotate.c @@ -307,7 +307,7 @@ static bool uv_rotation_in_clip_bounds_test(const TransInfo *t, const float angl pr[0] = cos_angle * uv[0] + sin_angle * uv[1]; pr[1] = -sin_angle * uv[0] + cos_angle * uv[1]; add_v2_v2(pr, center); - /* TODO: udim support. */ + /* TODO: UDIM support. */ if (pr[0] < 0.0f || 1.0f < pr[0]) { return false; } |