diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-16 08:48:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-16 08:48:41 +0300 |
commit | a3a6d6a670f1074de3a83fef2f58c72bd66b270d (patch) | |
tree | 105e77b3dceb578ef8f2aa8cfa65cceff1258c8d /intern/ghost | |
parent | 4eac03d821fa17546f562485f7d073813a5e5943 (diff) |
Cleanup: spelling
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemX11.cpp | 11 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemX11.h | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp index ecab61f6964..8e7b966aadf 100644 --- a/intern/ghost/intern/GHOST_SystemX11.cpp +++ b/intern/ghost/intern/GHOST_SystemX11.cpp @@ -23,7 +23,7 @@ * \ingroup GHOST */ -#include <X11/XKBlib.h> /* allow detectable autorepeate */ +#include <X11/XKBlib.h> /* Allow detectable auto-repeate. */ #include <X11/Xatom.h> #include <X11/Xutil.h> #include <X11/keysym.h> @@ -130,10 +130,9 @@ GHOST_SystemX11::GHOST_SystemX11() : GHOST_System(), m_xkb_descr(NULL), m_start_ #endif #if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING) - /* note -- don't open connection to XIM server here, because the locale - * has to be set before opening the connection but setlocale() has not - * been called yet. the connection will be opened after entering - * the event loop. */ + /* NOTE: Don't open connection to XIM server here, because the locale has to be + * set before opening the connection but `setlocale()` has not been called yet. + * the connection will be opened after entering the event loop. */ m_xim = NULL; #endif @@ -189,7 +188,7 @@ GHOST_SystemX11::GHOST_SystemX11() : GHOST_System(), m_xkb_descr(NULL), m_start_ /* Taking care not to overflow the tv.tv_sec * 1000 */ m_start_time = GHOST_TUns64(tv.tv_sec) * 1000 + tv.tv_usec / 1000; - /* use detectable autorepeate, mac and windows also do this */ + /* Use detectable auto-repeate, mac and windows also do this. */ int use_xkb; int xkb_opcode, xkb_event, xkb_error; int xkb_major = XkbMajorVersion, xkb_minor = XkbMinorVersion; diff --git a/intern/ghost/intern/GHOST_SystemX11.h b/intern/ghost/intern/GHOST_SystemX11.h index 3fab115afff..bcebda66ae3 100644 --- a/intern/ghost/intern/GHOST_SystemX11.h +++ b/intern/ghost/intern/GHOST_SystemX11.h @@ -24,7 +24,7 @@ #pragma once -#include <X11/XKBlib.h> /* allow detectable autorepeate */ +#include <X11/XKBlib.h> /* Allow detectable auto-repeate. */ #include <X11/Xlib.h> #include "../GHOST_Types.h" |