mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Fixed debug print.
GCC 4.5.1 has stricter checking of format strings and refused to compile this.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user