Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5208 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Sep 19, 2005, 8:36:45 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: first fruits of valgrind…. delete[] are fine now :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/text_engine.cc

    r5179 r5208  
    104104
    105105  tmpFont = (Font*)ResourceManager::getInstance()->load(fontFile, TTF, RP_GAME, &fontSize);
    106   if (!tmpFont)
     106  if (tmpFont == NULL)
    107107  {
    108108    PRINTF(2)("Font %s could not be loaded, probably file not found\n", fontFile);
Note: See TracChangeset for help on using the changeset viewer.