Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-08-30 09:20:07 +0300
committerCampbell Barton <campbell@blender.org>2022-08-30 09:22:49 +0300
commitc29d63aa5e22c202fd39c32ecd4e87b5704edfdd (patch)
tree6a1e39df1cf1c1867ad2ad645b1052893284a272 /intern
parent24b8ccaa94a66a3552dc7100996d83d492a55ada (diff)
Cleanup: spelling in comments
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_DropTargetWin32.cpp6
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.h6
-rw-r--r--intern/guardedalloc/MEM_guardedalloc.h2
3 files changed, 7 insertions, 7 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__