1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-12-27 10:36:27 +02:00

Fixed debug print.

GCC 4.5.1 has stricter checking of format strings and refused to compile this.
This commit is contained in:
Maarten ter Huurne 2011-05-11 02:31:41 +02:00
parent 8592038f95
commit db5ebff16f

View File

@ -54,7 +54,7 @@ string SurfaceCollection::getSkinFilePath(const string &file) {
void SurfaceCollection::debug() {
SurfaceHash::iterator end = surfaces.end();
for(SurfaceHash::iterator curr = surfaces.begin(); curr != end; curr++){
DEBUG("key: %i\n", curr->first);
DEBUG("key: %s\n", curr->first.c_str());
}
}