Opened 9 years ago

Closed 9 years ago

#1121 closed bug (fixed (in master))

SDL bug with 'bool'

Reported by: magnate Owned by:
Milestone: 3.2.0 Keywords: sdl
Cc:

Description

http://angband.oook.cz/forum/showthread.php?t=2884

IIUC V is not C99-compliant, so although this may not bite many people, it still needs fixing, doesn't it?

Change History (3)

comment:1 Changed 9 years ago by takkaria

solution is to change

bool mc = (bool)(keysym.mod & (KMOD_CTRL));

etc. into

bool mc = (keysym.mod & (KMOD_CTRL)) > 0;

comment:2 Changed 9 years ago by magnate

  • Status changed from new to pending

Committed to staging in http://bit.ly/i3Jcgi

comment:3 Changed 9 years ago by magnate

  • Resolution set to fixed
  • Status changed from pending to closed

In nightlies as of http://bit.ly/hbCBeP

Note: See TracTickets for help on using tickets.