forked from bartvdbraak/blender
Cleanup: spelling
This commit is contained in:
parent
7ba2b37a8a
commit
690345a826
@ -541,7 +541,7 @@ typedef enum AttributeStandard {
|
||||
|
||||
/* This struct is to be 16 bytes aligned, we also keep some extra precautions:
|
||||
* - All the float3 members are in the beginning of the struct, so compiler
|
||||
* does not put own pddings trying to align this members.
|
||||
* does not put own padding trying to align this members.
|
||||
* - We make sure OSL pointer is also 16 bytes aligned.
|
||||
*/
|
||||
typedef struct ShaderClosure {
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#ifdef WITH_OSL
|
||||
# if defined(_MSC_VER)
|
||||
/* Prevent OSL from pollyting the context with weird macroses from windows.h.
|
||||
/* Prevent OSL from polluting the context with weird macros from windows.h.
|
||||
* TODO(sergey): Ideally it's only enough to have class/struct declarations in
|
||||
* the header and skip header include here.
|
||||
*/
|
||||
|
@ -114,7 +114,7 @@ struct ImeComposition {
|
||||
|
||||
/**
|
||||
* Represents the type of the string in the 'ime_string' parameter.
|
||||
* Its possible values and description are listed bwlow:
|
||||
* Its possible values and description are listed below:
|
||||
* Value Description
|
||||
* 0 The parameter is not used.
|
||||
* GCS_RESULTSTR The parameter represents a result string.
|
||||
|
@ -3508,7 +3508,8 @@ bool WM_event_is_tablet(const struct wmEvent *event)
|
||||
|
||||
#ifdef WITH_INPUT_IME
|
||||
/* most os using ctrl/oskey + space to switch ime, avoid added space */
|
||||
bool WM_event_is_ime_switch(const struct wmEvent *event) {
|
||||
bool WM_event_is_ime_switch(const struct wmEvent *event)
|
||||
{
|
||||
return event->val == KM_PRESS && event->type == SPACEKEY &&
|
||||
(event->ctrl || event->oskey || event->shift || event->alt);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user