Skip to content

Commit

Permalink
Fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Dec 18, 2013
1 parent 63dc669 commit 74842ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/player_select_menus.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,16 @@ static void DrawNameMenu(
int i;
PlayerSelectMenuData *d = data;

#define ENTRY_COLS 8
#define ENTRY_SPACING 7

int x = pos.x;
int y = CENTER_Y(
pos, size,
CDogsTextHeight() * ((strlen(letters) - 1) / ENTRY_COLS));

UNUSED(menu);

#define ENTRY_COLS 8
#define ENTRY_SPACING 7

for (i = 0; i < (int)strlen(letters); i++)
{
Vec2i menuPos = Vec2iNew(
Expand Down

0 comments on commit 74842ce

Please sign in to comment.