forked from github/server
fix gcc compilation and missing argument
This commit is contained in:
parent
1182059b98
commit
9c7fe1d7cc
|
@ -559,10 +559,8 @@ void sparagraph(strlist ** SP, const char *s, int indent, char mark)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nr_curses_i(stream *out, int indent, const faction *viewer, objtype_t typ, const void *obj, attrib *a)
|
nr_curses_i(stream *out, int indent, const faction *viewer, objtype_t typ, const void *obj, attrib *a, int self)
|
||||||
{
|
{
|
||||||
int self = 0;
|
|
||||||
|
|
||||||
for (; a; a = a->next) {
|
for (; a; a = a->next) {
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
message *msg;
|
message *msg;
|
||||||
|
@ -662,7 +660,7 @@ static void nr_curses(stream *out, int indent, const faction *viewer, objtype_t
|
||||||
log_error("get_attribs: invalid object type %d", typ);
|
log_error("get_attribs: invalid object type %d", typ);
|
||||||
assert(!"invalid object type");
|
assert(!"invalid object type");
|
||||||
}
|
}
|
||||||
nr_curses_i(out, indent, viewer, typ, obj, a);
|
nr_curses_i(out, indent, viewer, typ, obj, a, self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void rps_nowrap(stream *out, const char *s)
|
static void rps_nowrap(stream *out, const char *s)
|
||||||
|
|
Loading…
Reference in New Issue