Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7677 in orxonox.OLD for trunk/src/lib/event


Ignore:
Timestamp:
May 18, 2006, 12:42:31 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: POD's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/key_mapper.cc

    r7661 r7677  
    148148  while( iniParser->getCurrentName() != "" )
    149149  {
    150     PRINTF(3)("Keys: Parsing %s, %s now.\n", iniParser->getCurrentName(), iniParser->getCurrentValue());
     150    PRINTF(3)("Keys: Parsing %s, %s now.\n", iniParser->getCurrentName().c_str(), iniParser->getCurrentValue().c_str());
    151151    // map the name to an sdl index
    152152    index = nameToIndex (iniParser->getCurrentValue());
     
    229229        {
    230230          *map[i].pValue = index[1];
    231           PRINTF(4)("Mapping %s to '%s' (id %i)\n", name, SDLKToKeyname(index[1]), index[1]);
     231          PRINTF(4)("Mapping %s to '%s' (id %i)\n", name.c_str(), SDLKToKeyname(index[1]).c_str(), index[1]);
    232232          break;
    233233        }
    234234        else {
    235235          *map[i].pValue = index[1];
    236           PRINTF(4)("Mapping %s to '%s' (id %i)\n", name, SDLBToButtonname(index[1]), index[1]);
     236          PRINTF(4)("Mapping %s to '%s' (id %i)\n", name.c_str(), SDLBToButtonname(index[1]).c_str(), index[1]);
    237237          break;
    238238        }
Note: See TracChangeset for help on using the changeset viewer.