Style cleanup

This commit is contained in:
Campbell Barton 2014-07-05 05:26:32 +10:00
parent c4eeda2673
commit b4b5d9c24e
3 changed files with 6 additions and 5 deletions

View File

@ -2178,7 +2178,7 @@ static int animchannels_find_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
/* update filter text, and ensure that filter is enabled if there's something there
* NOTE: we turn the filter off if there's nothing (this is a quicky shortcut for dismissing)
* NOTE: we turn the filter off if there's nothing (this is a quick shortcut for dismissing)
*/
RNA_string_get(op->ptr, "query", ac.ads->searchstr);

View File

@ -155,7 +155,8 @@ static float event_tablet_data(const wmEvent *event, int *pen_flip)
return pressure;
}
static bool paint_tool_require_location(Brush *brush, PaintMode mode) {
static bool paint_tool_require_location(Brush *brush, PaintMode mode)
{
switch (mode) {
case PAINT_SCULPT:
if (ELEM4(brush->sculpt_tool, SCULPT_TOOL_GRAB, SCULPT_TOOL_ROTATE,
@ -163,9 +164,9 @@ static bool paint_tool_require_location(Brush *brush, PaintMode mode) {
{
return false;
}
else
else {
return true;
}
default:
break;
}

View File

@ -488,7 +488,7 @@ int imb_savepng(struct ImBuf *ibuf, const char *name, int flags)
static void imb_png_warning(png_structp UNUSED(png_ptr), png_const_charp message)
{
/* We supress iCCP warnings. That's how Blender always used to behave,
/* We suppress iCCP warnings. That's how Blender always used to behave,
* and with new libpng it became too much picky, giving a warning on
* the splash screen even.
*/