summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-21 15:41:50 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-21 15:41:50 -0500
commite99e915e306dd5316b90f87759176a55d62a686e (patch)
tree366b4ad1c3c926639f6f69aad83779b5cd6139e9 /dimension
parent86cce76328041c18fc17df4ccb7556879a6761de (diff)
downloaddimension-e99e915e306dd5316b90f87759176a55d62a686e.tar.xz
Mess with `dimension' output a bit.
Diffstat (limited to 'dimension')
-rw-r--r--dimension/main.c6
-rw-r--r--dimension/progressbar.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/dimension/main.c b/dimension/main.c
index 42661e7..2e3407c 100644
--- a/dimension/main.c
+++ b/dimension/main.c
@@ -111,7 +111,7 @@ main(int argc, char **argv) {
/* Tokenize the input file */
if (!debugging)
- printf("Tokenizing input...\n");
+ printf("Tokenizing input ...\n");
dmnsn_array *tokens = dmnsn_tokenize(input, input_file);
if (!tokens) {
@@ -133,7 +133,7 @@ main(int argc, char **argv) {
/* Parse the input */
if (!debugging)
- printf("Parsing input...\n");
+ printf("Parsing input ...\n");
dmnsn_array *astree = dmnsn_parse(tokens);
if (!astree) {
@@ -150,7 +150,7 @@ main(int argc, char **argv) {
}
/* Realize the input */
- printf("Generating scene...\n");
+ printf("Generating scene ...\n");
dmnsn_scene *scene = dmnsn_realize(astree);
if (!scene) {
dmnsn_delete_astree(astree);
diff --git a/dimension/progressbar.c b/dimension/progressbar.c
index ac5f899..029e94c 100644
--- a/dimension/progressbar.c
+++ b/dimension/progressbar.c
@@ -26,14 +26,14 @@ dmnsn_progressbar(const char *str, const dmnsn_progress *progress)
const unsigned int increments = 32;
unsigned int i;
- printf("%s|", str);
+ printf("%s", str);
fflush(stdout);
for (i = 0; i < increments; ++i) {
dmnsn_wait_progress(progress, ((double)(i + 1))/increments);
- printf("=");
+ printf(".");
fflush(stdout);
}
- printf("|\n");
+ printf("\n");
fflush(stdout);
}