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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-19 12:15:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-19 12:15:56 +0300
commit4cdc6d36fdf24f96468cebd2f31b2571ba9e7f79 (patch)
tree8980aaa7ea9cb6e30b56f41fa3fade3e7f62a30d /intern/ghost/intern
parentf2eef452009f5958bbf783f9970534c3349fc753 (diff)
Cleanup: spelling for ghost comments
Diffstat (limited to 'intern/ghost/intern')
-rw-r--r--intern/ghost/intern/GHOST_DropTargetWin32.h2
-rw-r--r--intern/ghost/intern/GHOST_DropTargetX11.h2
-rw-r--r--intern/ghost/intern/GHOST_ImeWin32.cpp4
-rw-r--r--intern/ghost/intern/GHOST_ImeWin32.h8
-rw-r--r--intern/ghost/intern/GHOST_SystemCocoa.mm4
-rw-r--r--intern/ghost/intern/GHOST_SystemPathsUnix.h2
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp4
-rw-r--r--intern/ghost/intern/GHOST_SystemX11.h2
8 files changed, 14 insertions, 14 deletions
diff --git a/intern/ghost/intern/GHOST_DropTargetWin32.h b/intern/ghost/intern/GHOST_DropTargetWin32.h
index e1985f85640..588d89f1549 100644
--- a/intern/ghost/intern/GHOST_DropTargetWin32.h
+++ b/intern/ghost/intern/GHOST_DropTargetWin32.h
@@ -125,7 +125,7 @@ class GHOST_DropTargetWin32 : public IDropTarget {
void *getDropDataAsString(IDataObject *pDataObject);
/**
- * Convert Unicode to ANSI, replacing unconvertable chars with '?'.
+ * Convert Unicode to ANSI, replacing uncomfortable chars with '?'.
* The ANSI codepage is the system default codepage,
* and can change from system to system.
* \param in LPCWSTR.
diff --git a/intern/ghost/intern/GHOST_DropTargetX11.h b/intern/ghost/intern/GHOST_DropTargetX11.h
index 1edb52de5e5..d3f98ff11cf 100644
--- a/intern/ghost/intern/GHOST_DropTargetX11.h
+++ b/intern/ghost/intern/GHOST_DropTargetX11.h
@@ -69,7 +69,7 @@ class GHOST_DropTargetX11 {
void Initialize(void);
/**
- * Uninitialize XDND and all related X atoms
+ * Uninitialized XDND and all related X atoms
*/
void Uninitialize(void);
diff --git a/intern/ghost/intern/GHOST_ImeWin32.cpp b/intern/ghost/intern/GHOST_ImeWin32.cpp
index 06fab47933a..9ad12cb0e63 100644
--- a/intern/ghost/intern/GHOST_ImeWin32.cpp
+++ b/intern/ghost/intern/GHOST_ImeWin32.cpp
@@ -178,7 +178,7 @@ void GHOST_ImeWin32::CleanupComposition(HWND window_handle)
/**
* Notify the IMM attached to the given window to complete the ongoing
* composition, (this case happens when the given window is de-activated
- * while composing a text and re-activated), and reset the omposition status.
+ * while composing a text and re-activated), and reset the composition status.
*/
if (is_composing_) {
HIMC imm_context = ::ImmGetContext(window_handle);
@@ -273,7 +273,7 @@ void GHOST_ImeWin32::GetCaret(HIMC imm_context, LPARAM lparam, ImeComposition *c
/**
* For Japanese IMEs, the robustest way to retrieve the caret
* is scanning the attribute of the latest composition string and
- * retrieving the begining and the end of the target clause, i.e.
+ * retrieving the beginning and the end of the target clause, i.e.
* a clause being converted.
*/
if (lparam & GCS_COMPATTR) {
diff --git a/intern/ghost/intern/GHOST_ImeWin32.h b/intern/ghost/intern/GHOST_ImeWin32.h
index 9c1f2473223..112217023a7 100644
--- a/intern/ghost/intern/GHOST_ImeWin32.h
+++ b/intern/ghost/intern/GHOST_ImeWin32.h
@@ -122,7 +122,7 @@ struct ImeComposition {
/**
* This class controls the IMM (Input Method Manager) through IMM32 APIs and
- * enables it to retrieve the string being controled by the IMM. (I wrote
+ * enables it to retrieve the string being controlled by the IMM. (I wrote
* a note to describe the reason why I do not use 'IME' but 'IMM' below.)
* NOTE(hbono):
* Fortunately or unfortunately, TSF (Text Service Framework) and
@@ -274,7 +274,7 @@ class GHOST_ImeWin32 {
* events to be dispatched to the IME.
* In Chrome, this function is used when:
* * a renderer process moves its input focus to another edit control, or;
- * * a renrerer process moves the position of the focused edit control.
+ * * a renderer process moves the position of the focused edit control.
* Parameters
* * window_handle [in] (HWND)
* Represents the window handle of the caller.
@@ -297,7 +297,7 @@ class GHOST_ImeWin32 {
* Disable the IME attached to the given window, i.e. prohibits any user-input
* events from being dispatched to the IME.
* In Chrome, this function is used when:
- * * a renreder process sets its input focus to a password input.
+ * * a rendeder process sets its input focus to a password input.
* Parameters
* * window_handle [in] (HWND)
* Represents the window handle of the caller.
@@ -350,7 +350,7 @@ class GHOST_ImeWin32 {
/**
* The current input Language ID retrieved from Windows, which consists of:
- * * Primary Language ID (bit 0 to bit 9), which shows a natunal language
+ * * Primary Language ID (bit 0 to bit 9), which shows a natural language
* (English, Korean, Chinese, Japanese, etc.) and;
* * Sub-Language ID (bit 10 to bit 15), which shows a geometrical region
* the language is spoken (For English, United States, United Kingdom,
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm
index 0424b96523b..49e01a983a0 100644
--- a/intern/ghost/intern/GHOST_SystemCocoa.mm
+++ b/intern/ghost/intern/GHOST_SystemCocoa.mm
@@ -1591,7 +1591,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
window->getClientBounds(bounds);
/* Switch back to Cocoa coordinates orientation
- * (y=0 at botton,the same as blender internal btw!), and to client coordinates. */
+ * (y=0 at bottom, the same as blender internal btw!), and to client coordinates. */
window->getClientBounds(windowBounds);
window->screenToClient(bounds.m_l, bounds.m_b, correctedBounds.m_l, correctedBounds.m_t);
window->screenToClient(bounds.m_r, bounds.m_t, correctedBounds.m_r, correctedBounds.m_b);
@@ -1665,7 +1665,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr)
else if (phase == NSEventPhaseEnded)
m_multiTouchScroll = false;
- /* Standard scrollwheel case, if no swiping happened,
+ /* Standard scroll-wheel case, if no swiping happened,
* and no momentum (kinetic scroll) works. */
if (!m_multiTouchScroll && momentumPhase == NSEventPhaseNone) {
GHOST_TInt32 delta;
diff --git a/intern/ghost/intern/GHOST_SystemPathsUnix.h b/intern/ghost/intern/GHOST_SystemPathsUnix.h
index bcbe24b0d31..dcd3ab34704 100644
--- a/intern/ghost/intern/GHOST_SystemPathsUnix.h
+++ b/intern/ghost/intern/GHOST_SystemPathsUnix.h
@@ -31,7 +31,7 @@ class GHOST_SystemPathsUnix : public GHOST_SystemPaths {
public:
/**
* Constructor
- * this class should only be instanciated by GHOST_ISystem.
+ * this class should only be instantiated by GHOST_ISystem.
*/
GHOST_SystemPathsUnix();
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index deb10377b7d..9f7b6f75e41 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -1524,7 +1524,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
* message without calling DefWindowProc.
*/
/* we get first WM_SIZE before we fully init.
- * So, do not dispatch before we continiously resizng */
+ * So, do not dispatch before we continuously resizing. */
if (window->m_inLiveResize) {
system->pushEvent(processWindowEvent(GHOST_kEventWindowSize, window));
system->dispatchEvents();
@@ -1560,7 +1560,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
case WM_DPICHANGED:
/* The WM_DPICHANGED message is sent when the effective dots per inch (dpi) for a
* window has changed. The DPI is the scale factor for a window. There are multiple
- * events that can cause the DPI tochange such as when the window is moved to a monitor
+ * events that can cause the DPI to change such as when the window is moved to a monitor
* with a different DPI.
*/
{
diff --git a/intern/ghost/intern/GHOST_SystemX11.h b/intern/ghost/intern/GHOST_SystemX11.h
index 5c474142534..1fe94b40f17 100644
--- a/intern/ghost/intern/GHOST_SystemX11.h
+++ b/intern/ghost/intern/GHOST_SystemX11.h
@@ -78,7 +78,7 @@ class GHOST_SystemX11 : public GHOST_System {
public:
/**
* Constructor
- * this class should only be instanciated by GHOST_ISystem.
+ * this class should only be instantiated by GHOST_ISystem.
*/
GHOST_SystemX11();