mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-10 19:38:50 +01:00
Fix most compiler warnings and fix for OSX.
This commit is contained in:
parent
a61c2c6c60
commit
eadcd45b6e
6 changed files with 15 additions and 8 deletions
|
|
@ -474,7 +474,7 @@ void page_string(struct descriptor_data *d, char *str, int keep_internal)
|
|||
if (!str || !*str)
|
||||
return;
|
||||
|
||||
if ((GET_PAGE_LENGTH(d->character) < 5 || GET_PAGE_LENGTH(d->character) > 255))
|
||||
if (GET_PAGE_LENGTH(d->character) < 5)
|
||||
GET_PAGE_LENGTH(d->character) = PAGE_LENGTH;
|
||||
d->showstr_count = count_pages(str, d->character);
|
||||
CREATE(d->showstr_vector, char *, d->showstr_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue