Code cleanup: spelling/indentation
This commit is contained in:
@@ -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)))
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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",
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user