X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=misc.c;h=b10a76857b6d845376049a4c47b0e7e0d13dc043;hp=cd1b5bf1f94d487c7996b7fb0d90b29b7c2ee050;hb=8bc08773fa4ac22f7fd3c89d8e8be92d2cab616a;hpb=31f27b672c05df602fa1cc9cb5f64f0ef7cb3d80 diff --git a/misc.c b/misc.c index cd1b5bf..b10a768 100644 --- a/misc.c +++ b/misc.c @@ -242,11 +242,6 @@ void vspeak(const char* msg, va_list ap) } } *renderp = 0; - - // Deal with messages that are in YAML block format and therefore - // have their own trailing \n - if (renderp > rendered && renderp[-1] == '\n') - *--renderp = '\0'; // Print the message. printf("%s\n", rendered);