diff -r c73bb30448db -r d2a9c31353f7 editxlinkdialog.cpp --- a/editxlinkdialog.cpp Tue Oct 16 11:42:21 2007 +0000 +++ b/editxlinkdialog.cpp Mon Jul 14 11:21:10 2008 +0000 @@ -62,8 +62,8 @@ if (xlo) { if (selection && - (typeid(*selection) == typeid(BranchObj)) || - (typeid(*selection) == typeid(MapCenterObj)) ) + ((typeid(*selection) == typeid(BranchObj)) || + (typeid(*selection) == typeid(MapCenterObj))) ) { QColor col=((BranchObj*)(selection))->getColor(); xlo->setColor(col);