Opened 11 years ago

Closed 10 years ago

#1121 closed bug (fixed (in master))

SDL bug with 'bool'

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


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 10 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 10 years ago by magnate

  • Status changed from new to pending

Committed to staging in

comment:3 Changed 10 years ago by magnate

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

In nightlies as of

Note: See TracTickets for help on using tickets.