]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/sendmail.c
Fix for <trigger>shoot telling you to use .roulette instead of <trigger>roulette
[irc/evilnet/x3.git] / src / sendmail.c
index 8c211e7e6fd9ea01163e3ff5860a8de74fc0a7f8..c40c57d8b3f33d2b99becf7a92f6ab725e33e31f 100644 (file)
@@ -3,9 +3,9 @@
  *
  * This file is part of x3.
  *
- * srvx is free software; you can redistribute it and/or modify
+ * x3 is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -85,7 +85,7 @@ send_flowed_text(FILE *where, const char *para)
             break;
         } else if (eol && (eol < para + (80 - shift))) {
             /* Newline inside paragraph, no need to wrap. */
-            fprintf(where, "%.*s\n", eol - para, para);
+            fprintf(where, "%.*s\n", (int)(eol - para), para);
             para = eol + 1;
         } else {
             int pos;