From: Holger Schemel Date: Sat, 12 Sep 2015 19:30:05 +0000 (+0200) Subject: fixed bad combination of text wrapping options for request dialog X-Git-Tag: 4.0.0.0-rc1~148 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e3c693baf2ea4f86e6874f00254e60f72d4afd10;p=rocksndiamonds.git fixed bad combination of text wrapping options for request dialog --- diff --git a/src/tools.c b/src/tools.c index b45ec0fb..9b903d35 100644 --- a/src/tools.c +++ b/src/tools.c @@ -2294,7 +2294,7 @@ void DrawEnvelopeRequest(char *text) if (request.centered) sx_offset = (request.width - text_width) / 2; - if (request.wrap_single_words) + if (request.wrap_single_words && !request.autowrap) { char *src_text_ptr, *dst_text_ptr;