mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 03:06:15 +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:
parent
8592038f95
commit
db5ebff16f
@ -54,7 +54,7 @@ string SurfaceCollection::getSkinFilePath(const string &file) {
|
|||||||
void SurfaceCollection::debug() {
|
void SurfaceCollection::debug() {
|
||||||
SurfaceHash::iterator end = surfaces.end();
|
SurfaceHash::iterator end = surfaces.end();
|
||||||
for(SurfaceHash::iterator curr = surfaces.begin(); curr != end; curr++){
|
for(SurfaceHash::iterator curr = surfaces.begin(); curr != end; curr++){
|
||||||
DEBUG("key: %i\n", curr->first);
|
DEBUG("key: %s\n", curr->first.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user