Code cleanup: spelling/indentation

This commit is contained in:
Campbell Barton
2014-05-08 04:53:05 +10:00
parent 3a8f1d5d8b
commit 65d54f34b1
7 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@
/* hint to mark function arguments expected to be non-null
* if no arguments are given to the macro, all of pointer
* arguments owuld be expected to be non-null
* arguments would be expected to be non-null
*/
#ifdef __GNUC__
# define ATTR_NONNULL(args ...) __attribute__((nonnull(args)))

View File

@@ -710,7 +710,7 @@ void BLI_path_rel(char *file, const char *relfile)
* \param maxlen Maximum length of string
* \param suffix String to append to the original string
* \param sep Optional separator character
* \return true if succeded
* \return true if succeeded
*/
bool BLI_path_suffix(char *string, size_t maxlen, const char *suffix, const char *sep)
{

View File

@@ -1119,7 +1119,7 @@ static BMOpDefine bmo_subdivide_edges_def = {
/*
* Subdivide Edge-Ring.
*
* Take an edge-ring, and supdivide with interpolation options.
* Take an edge-ring, and subdivide with interpolation options.
*/
static BMOpDefine bmo_subdivide_edgering_def = {
"subdivide_edgering",

View File

@@ -1802,7 +1802,7 @@ static void view3d_draw_bgpic(Scene *scene, ARegion *ar, View3D *v3d,
glColor4f(1.0f, 1.0f, 1.0f, 1.0f - bgpic->blend);
/* could not use glaDrawPixelsAuto because it could fallback to
* glaDrawPixelsSafe in some cases, which will end up in misssing
* glaDrawPixelsSafe in some cases, which will end up in missing
* alpha transparency for the background image (sergey)
*/
glaDrawPixelsTex(x1, y1, ibuf->x, ibuf->y, GL_RGBA, GL_UNSIGNED_BYTE, GL_LINEAR, ibuf->rect);