Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-19 08:23:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-19 08:23:02 +0400
commit3134407c48f2623ad5f55db5d868fb82346dfa7b (patch)
tree8d44e5d1d1baa055fa0a9715d225cf5c025fe00f /source/blender/editors/space_text/text_format.c
parentf43923d86d0a4d6dbbdc8d7fc05d383a23b3e5e2 (diff)
code cleanup: remove unneeded include's and rename some static functions in text_format_py.c
Diffstat (limited to 'source/blender/editors/space_text/text_format.c')
-rw-r--r--source/blender/editors/space_text/text_format.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/source/blender/editors/space_text/text_format.c b/source/blender/editors/space_text/text_format.c
index 512b512dbc4..0b3856f4414 100644
--- a/source/blender/editors/space_text/text_format.c
+++ b/source/blender/editors/space_text/text_format.c
@@ -24,40 +24,19 @@
* ***** END GPL LICENSE BLOCK *****
*/
-/** \file blender/editors/space_text/text_draw.c
+/** \file blender/editors/space_text/text_format.c
* \ingroup sptext
*/
-
-#include <math.h>
-#include <stdlib.h>
#include <string.h>
-#include <sys/stat.h>
#include "MEM_guardedalloc.h"
-#include "BLF_api.h"
-
#include "BLI_blenlib.h"
-#include "BLI_math.h"
-#include "BLI_utildefines.h"
#include "DNA_text_types.h"
#include "DNA_space_types.h"
-#include "DNA_screen_types.h"
-#include "DNA_userdef_types.h"
-
-#include "BKE_context.h"
-#include "BKE_suggestions.h"
-#include "BKE_text.h"
-#include "BIF_gl.h"
-
-#include "ED_datafiles.h"
-#include "UI_interface.h"
-#include "UI_resources.h"
-
-#include "text_intern.h"
#include "text_format.h"
@@ -136,8 +115,6 @@ void flatten_string_free(FlattenString *fs)
/* Ensures the format string for the given line is long enough, reallocating
* as needed. Allocation is done here, alone, to ensure consistency. */
-
-/*TODO: rename! flatten_string_len_ensure() */
int text_check_format_len(TextLine *line, unsigned int len)
{
if (line->format) {