Show unhandled SDL events in hexadecimal (easier to compare with the enum)

This commit is contained in:
scrawl 2014-05-03 16:16:27 +02:00
parent 7bddfc0025
commit eff648e3ab

View file

@ -115,7 +115,7 @@ namespace SFO
mWindowListener->windowClosed();
break;
default:
std::cerr << "Unhandled SDL event of type " << evt.type << std::endl;
std::cerr << "Unhandled SDL event of type 0x" << std::hex << evt.type << std::endl;
break;
}
}