Fix more warnings and some style.

This commit is contained in:
Zach Langley 2014-11-07 21:19:32 -08:00
parent 4e27091e57
commit 0ded4cf7e2
6 changed files with 48 additions and 45 deletions

View file

@ -983,8 +983,8 @@ void char_from_furniture(struct char_data *ch)
*/
void column_list(struct char_data *ch, int num_cols, const char **list, int list_length, bool show_nums)
{
size_t max_len = 0;
int num_per_col, col_width,r,c,i, offset=0, len=0, temp_len;
size_t max_len = 0, len = 0, temp_len;
int num_per_col, col_width, r, c, i, offset = 0;
char buf[MAX_STRING_LENGTH];
/* Work out the longest list item */