restoring old indentation-style for b, sh display

This commit is contained in:
Enno Rehling 2006-01-29 23:17:38 +00:00
parent 5230bfd473
commit f2e2ec4e67

View file

@ -215,7 +215,7 @@ rparagraph(FILE *F, const char *str, int indent, int hanging_indent, char mark)
} else { } else {
fwrite(spaces, sizeof(char), indent+ hanging_indent, F); fwrite(spaces, sizeof(char), indent+ hanging_indent, F);
} }
while (*end && end!=begin+length-indent) { while (*end && end<=begin+length-indent) {
if (*end==' ') { if (*end==' ') {
last_space = end; last_space = end;
} }
@ -1698,7 +1698,7 @@ report_building(FILE *F, const region * r, const building * b, const faction * f
#endif #endif
rparagraph(F, buf, 2, 2, 0); rparagraph(F, buf, 2, 0, 0);
if (mode<see_lighthouse) return; if (mode<see_lighthouse) return;
@ -2104,7 +2104,7 @@ report_plaintext(const char * filename, report_context * ctx)
if (ch != '!' && ch != '?' && ch != '.') if (ch != '!' && ch != '?' && ch != '.')
scat("."); scat(".");
rparagraph(F, buf, 2, 2, 0); rparagraph(F, buf, 2, 0, 0);
print_curses(F,f,sh,TYP_SHIP,4); print_curses(F,f,sh,TYP_SHIP,4);