From 80c38380d1ef1394ab3b19ca51680a28fd27fa3a Mon Sep 17 00:00:00 2001 From: rathnor Date: Tue, 15 Apr 2003 23:20:31 +0000 Subject: whoops, fix some ifdefs and things --- src/FbTk/XLayer.cc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/FbTk/XLayer.cc b/src/FbTk/XLayer.cc index ad1e49d..023a80d 100644 --- a/src/FbTk/XLayer.cc +++ b/src/FbTk/XLayer.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: XLayer.cc,v 1.7 2003/04/15 23:09:24 rathnor Exp $ +// $Id: XLayer.cc,v 1.8 2003/04/15 23:20:31 rathnor Exp $ #include "XLayer.hh" #include "XLayerItem.hh" @@ -252,12 +252,12 @@ void XLayer::raise(XLayerItem &item) { iterator it = std::find(itemList().begin(), itemList().end(), &item); if (it != itemList().end()) itemList().erase(it); -#ifdef DEBUG else { +#ifdef DEBUG cerr<<__FILE__<<"("<<__LINE__<<"): WARNING: raise on item not in layer["<