fixed bad combination of text wrapping options for request dialog
authorHolger Schemel <info@artsoft.org>
Sat, 12 Sep 2015 19:30:05 +0000 (21:30 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 12 Sep 2015 19:30:05 +0000 (21:30 +0200)
src/tools.c

index b45ec0fb1ae12422400108f25206296a0dc7d537..9b903d35b337b8e02959b367424a48a4e0c2951b 100644 (file)
@@ -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;