summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
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);
}