From 0a9665a16bff3c52ec341eef23d515e9e43327d8 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 4 Nov 2011 08:28:52 +0000 Subject: [PATCH] Sorry, we don't speak no C99 here. --- src/sbbs3/wordwrap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sbbs3/wordwrap.c b/src/sbbs3/wordwrap.c index 4b94b23035..c7cec4b4d4 100644 --- a/src/sbbs3/wordwrap.c +++ b/src/sbbs3/wordwrap.c @@ -34,7 +34,6 @@ #include <ctype.h> #include <genwrap.h> #include <stdlib.h> /* realloc */ -#include <stdbool.h> #include "wordwrap.h" static int get_prefix(const char *text, int *bytes, int *len, int maxlen) @@ -171,8 +170,8 @@ static int compare_prefix(char *old_prefix, int old_prefix_bytes, const char *ne char* wordwrap(char* inbuf, int len, int oldlen, uint32_t flags) { - bool handle_quotes=flags&WORDWRAP_FLAG_QUOTES; - bool lf_break=flags&WORDWRAP_FLAG_BARELF; + BOOL handle_quotes=flags&WORDWRAP_FLAG_QUOTES; + BOOL lf_break=flags&WORDWRAP_FLAG_BARELF; int l; int crcount=0; long i,k,t; -- GitLab