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-08-11 22:39:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-11 22:39:38 +0400
commitdf1dd658c9554cf53040f05e6a4926c0b6e70e95 (patch)
treefb3ff26d3ecfd00f5b904e5a81313426ccc7693e /source/blender/datatoc
parentca7c07cda942976d805fcf2bbfe168b4b7b3fe18 (diff)
minor improvements to cmake's datatoc usage, now changes to datatoc.c re-make generated files.
Diffstat (limited to 'source/blender/datatoc')
-rw-r--r--source/blender/datatoc/datatoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/datatoc/datatoc.c b/source/blender/datatoc/datatoc.c
index 7a4e51932a2..d074917a545 100644
--- a/source/blender/datatoc/datatoc.c
+++ b/source/blender/datatoc/datatoc.c
@@ -104,9 +104,11 @@ int main(int argc, char **argv)
fprintf(fpout, "int datatoc_%s_size = %s;\n", argv[1], sizest);
fprintf(fpout, "char datatoc_%s[] = {\n", argv[1]);
while (size--) {
+#ifdef VERBOSE
if (size % 32 == 31) {
fprintf(fpout, "\n");
}
+#endif
/* fprintf (fpout, "\\x%02x", getc(fpin)); */
fprintf(fpout, "%3d,", getc(fpin));