[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43465] trunk/blender/source/blender/ blenkernel: Whitespace tabs vs.

Sergey Sharybin sergey.vfx at gmail.com
Tue Jan 17 18:27:05 CET 2012


Revision: 43465
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43465
Author:   nazgul
Date:     2012-01-17 17:26:58 +0000 (Tue, 17 Jan 2012)
Log Message:
-----------
Whitespace tabs vs. spaces consistency changes

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/BKE_text.h
    trunk/blender/source/blender/blenkernel/intern/text.c

Modified: trunk/blender/source/blender/blenkernel/BKE_text.h
===================================================================
--- trunk/blender/source/blender/blenkernel/BKE_text.h	2012-01-17 17:14:23 UTC (rev 43464)
+++ trunk/blender/source/blender/blenkernel/BKE_text.h	2012-01-17 17:26:58 UTC (rev 43465)
@@ -46,8 +46,8 @@
 void 			txt_set_undostate	(int u);
 int 			txt_get_undostate	(void);
 struct Text*	add_empty_text	(const char *name);
-int             txt_extended_ascii_as_utf8(char **str);
-int	            reopen_text		(struct Text *text);
+int				txt_extended_ascii_as_utf8(char **str);
+int				reopen_text		(struct Text *text);
 struct Text*	add_text		(const char *file, const char *relpath); 
 struct Text*	copy_text		(struct Text *ta);
 void			unlink_text		(struct Main *bmain, struct Text *text);
@@ -60,8 +60,8 @@
 int		txt_find_string		(struct Text *text, const char *findstr, int wrap, int match_case);
 int		txt_has_sel			(struct Text *text);
 int		txt_get_span		(struct TextLine *from, struct TextLine *to);
-int     txt_utf8_offset_to_index(char *str, int offset);
-int     txt_utf8_index_to_offset(char *str, int index);
+int		txt_utf8_offset_to_index(char *str, int offset);
+int		txt_utf8_index_to_offset(char *str, int index);
 void	txt_move_up			(struct Text *text, short sel);
 void	txt_move_down		(struct Text *text, short sel);
 void	txt_move_left		(struct Text *text, short sel);
@@ -162,8 +162,8 @@
  * by 4 character length ID + the text
  * block itself + the 4 character length
  * ID (repeat) and opcode (repeat)) */
-#define UNDO_DBLOCK	    027 /* Delete block */
-#define UNDO_IBLOCK	    030 /* Insert block */
+#define UNDO_DBLOCK     027 /* Delete block */
+#define UNDO_IBLOCK     030 /* Insert block */
 
 /* Misc */
 #define UNDO_SWAP       031	/* Swap cursors */

Modified: trunk/blender/source/blender/blenkernel/intern/text.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/text.c	2012-01-17 17:14:23 UTC (rev 43464)
+++ trunk/blender/source/blender/blenkernel/intern/text.c	2012-01-17 17:26:58 UTC (rev 43465)
@@ -226,7 +226,7 @@
 
 	while ((*str)[i]) {
 		if((bad_char= BLI_utf8_invalid_byte(*str+i, length)) == -1)
-		    break;
+			break;
 
 		added++;
 		i+= bad_char + 1;



More information about the Bf-blender-cvs mailing list