From 75fc1c35070e0cf247f2d2e4cffe8a6e711522ff Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 1 Jun 2018 18:19:39 +0200 Subject: Cleanup: trailing whitespace (comment blocks) Strip unindented comment blocks - mainly headers to avoid conflicts. --- source/blender/editors/space_text/space_text.c | 4 ++-- source/blender/editors/space_text/text_draw.c | 4 ++-- source/blender/editors/space_text/text_format.h | 4 ++-- source/blender/editors/space_text/text_format_lua.c | 8 ++++---- source/blender/editors/space_text/text_header.c | 4 ++-- source/blender/editors/space_text/text_intern.h | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) (limited to 'source/blender/editors/space_text') diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c index fcb46ced750..72a274dcb5f 100644 --- a/source/blender/editors/space_text/space_text.c +++ b/source/blender/editors/space_text/space_text.c @@ -4,7 +4,7 @@ * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,7 +18,7 @@ * The Original Code is Copyright (C) 2008 Blender Foundation. * All rights reserved. * - * + * * Contributor(s): Blender Foundation * * ***** END GPL LICENSE BLOCK ***** diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c index 4eb66811c7d..23f28a91be8 100644 --- a/source/blender/editors/space_text/text_draw.c +++ b/source/blender/editors/space_text/text_draw.c @@ -168,7 +168,7 @@ static void format_draw_color(char formatchar) * view_width The maximum number of characters displayable in the region * This equals region_width/font_width for the region * wrap_chars Characters that allow wrapping. This equals [' ', '\t', '-'] - * + * * def wrap(line, view_width, wrap_chars): * draw_start = 0 * draw_end = view_width @@ -182,7 +182,7 @@ static void format_draw_color(char formatchar) * draw_end = pos+1 * pos += 1 * print line[draw_start:] - * + * */ int wrap_width(const SpaceText *st, ARegion *ar) diff --git a/source/blender/editors/space_text/text_format.h b/source/blender/editors/space_text/text_format.h index d7cf31d0b41..5912dc2402c 100644 --- a/source/blender/editors/space_text/text_format.h +++ b/source/blender/editors/space_text/text_format.h @@ -4,7 +4,7 @@ * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,7 +18,7 @@ * The Original Code is Copyright (C) 2009 Blender Foundation. * All rights reserved. * - * + * * Contributor(s): Blender Foundation * * ***** END GPL LICENSE BLOCK ***** diff --git a/source/blender/editors/space_text/text_format_lua.c b/source/blender/editors/space_text/text_format_lua.c index 1e842729ab3..f7e1d433e51 100644 --- a/source/blender/editors/space_text/text_format_lua.c +++ b/source/blender/editors/space_text/text_format_lua.c @@ -35,7 +35,7 @@ /* *** Lua Keywords (for format_line) *** */ /* Checks the specified source string for a Lua keyword (minus boolean & 'nil'). - * This name must start at the beginning of the source string and must be + * This name must start at the beginning of the source string and must be * followed by a non-identifier (see text_check_identifier(char)) or null char. * * If a keyword is found, the length of the matching word is returned. @@ -76,12 +76,12 @@ static int txtfmt_lua_find_keyword(const char *string) } /* Checks the specified source string for a Lua special name/function. This - * name must start at the beginning of the source string and must be followed + * name must start at the beginning of the source string and must be followed * by a non-identifier (see text_check_identifier(char)) or null character. * * If a special name is found, the length of the matching name is returned. - * Otherwise, -1 is returned. - * + * Otherwise, -1 is returned. + * * See: * http://www.lua.org/manual/5.1/manual.html#5.1 */ diff --git a/source/blender/editors/space_text/text_header.c b/source/blender/editors/space_text/text_header.c index e06a5b5474e..1a6d3181349 100644 --- a/source/blender/editors/space_text/text_header.c +++ b/source/blender/editors/space_text/text_header.c @@ -4,7 +4,7 @@ * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,7 +18,7 @@ * The Original Code is Copyright (C) 2008 Blender Foundation. * All rights reserved. * - * + * * Contributor(s): Blender Foundation * * ***** END GPL LICENSE BLOCK ***** diff --git a/source/blender/editors/space_text/text_intern.h b/source/blender/editors/space_text/text_intern.h index 3129c1bfc85..bc902135b50 100644 --- a/source/blender/editors/space_text/text_intern.h +++ b/source/blender/editors/space_text/text_intern.h @@ -4,7 +4,7 @@ * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,7 +18,7 @@ * The Original Code is Copyright (C) 2009 Blender Foundation. * All rights reserved. * - * + * * Contributor(s): Blender Foundation * * ***** END GPL LICENSE BLOCK ***** -- cgit v1.2.3