aboutsummaryrefslogtreecommitdiffstats
path: root/forthmachine_optable.c
diff options
context:
space:
mode:
Diffstat (limited to 'forthmachine_optable.c')
-rw-r--r--forthmachine_optable.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/forthmachine_optable.c b/forthmachine_optable.c
index 9ac925c..2bfecfc 100644
--- a/forthmachine_optable.c
+++ b/forthmachine_optable.c
@@ -219,13 +219,9 @@ static void dup(forthmachine* fm) {
static void forthmachine_output(forthmachine* fm, stackitem v) {
-if (fm->outputbuffer) {
char x[WORD_LEN_LIMIT];
sprintf(x, "%d\n", v);
strcat(fm->outputbuffer, x); // TODO: fix: UNSAFE!
-} else {
- printf("%d\n", v);
-}
}
static void popout(forthmachine* fm) {