Cleanup: typos

This commit is contained in:
2015-05-17 16:09:32 +10:00
parent 6ba128129d
commit daeb3069cf
4 changed files with 5 additions and 5 deletions

View File

@@ -3327,7 +3327,7 @@ Device *device_opencl_create(DeviceInfo& info, Stats &stats, bool background)
const bool force_split_kernel =
getenv("CYCLES_OPENCL_SPLIT_KERNEL_TEST") != NULL;
/* TODO(sergey): Replace string lookups with more enum-like API,
* similar to device/venfdor checks blender's gpu.
* similar to device/vendor checks blender's gpu.
*/
if(force_split_kernel ||
(platform_name == "AMD Accelerated Parallel Processing" &&

View File

@@ -471,7 +471,7 @@ typedef struct Ray {
* reshuffle. And at the same time reshuffle will cause
* less optimal CPU code in certain places.
*
* We'll get rid of this nasty eception once AMD compiler
* We'll get rid of this nasty exception once AMD compiler
* is fixed.
*/
#ifndef __KERNEL_OPENCL_AMD__

View File

@@ -195,7 +195,7 @@ struct Depsgraph {
};
/**
* Helper macros for interating over set of relationship links
* Helper macros for iterating over set of relationship links
* incident on each node.
*
* \note it is safe to perform removal operations here...

View File

@@ -3470,8 +3470,8 @@ int ui_but_menu_direction(uiBut *but)
}
/**
* Hack for uiList UI_BTYPE_LISTROW buttons to "give" events to overlaying UI_BTYPE_TEXT buttons
* (cltr-clic rename feature & co).
* Hack for #uiList #UI_BTYPE_LISTROW buttons to "give" events to overlaying #UI_BTYPE_TEXT buttons
* (Ctrl-Click rename feature & co).
*/
static uiBut *ui_but_list_row_text_activate(
bContext *C, uiBut *but, uiHandleButtonData *data, const wmEvent *event,