Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5638 in orxonox.OLD


Ignore:
Timestamp:
Nov 18, 2005, 7:06:53 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: segfault-prevention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/multi_type.cc

    r5633 r5638  
    286286 // default case:
    287287  if (this->type & MT_STRING)
    288     return this->value.String;
     288    return (this->value.String != NULL)? this->value.String : "";
    289289  else
    290290  {
Note: See TracChangeset for help on using the changeset viewer.