Author: bonefish Date: 2009-11-07 09:43:32 +0100 (Sat, 07 Nov 2009) New Revision: 33930 Changeset: http://dev.haiku-os.org/changeset/33930/haiku Modified: haiku/trunk/src/apps/debugger/dwarf/DwarfFile.cpp Log: Fixed incorrect check. Spotted by Axel. Modified: haiku/trunk/src/apps/debugger/dwarf/DwarfFile.cpp =================================================================== --- haiku/trunk/src/apps/debugger/dwarf/DwarfFile.cpp 2009-11-07 08:21:14 UTC (rev 33929) +++ haiku/trunk/src/apps/debugger/dwarf/DwarfFile.cpp 2009-11-07 08:43:32 UTC (rev 33930) @@ -1401,7 +1401,7 @@ return B_UNSUPPORTED; } - if (augmentation == NULL || *augmentation != '\0') { + if (augmentation != NULL && *augmentation != '\0') { if (strcmp(augmentation, "eh") == 0) { // the augmentation consists of the exception table pointer -- just // ignore it