From: Abdelrazak Younes Date: Sun, 23 Sep 2007 08:59:50 +0000 (+0000) Subject: Fix Cut&Paste bug. X-Git-Tag: 1.6.10~8224 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0dc4a1fa9704433df87c08bea263f99fc18ac0b6;p=features.git Fix Cut&Paste bug. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20445 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 6cf72746b5..08b74fc862 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -1436,7 +1436,8 @@ Inset * TextMetrics::checkInsetHit(int x, int y) << " yo: " << p.y_ - dim.asc << "..." << p.y_ + dim.des << endl; - if (x >= p.x_ && p.x_ + dim.wid + if (x >= p.x_ + && x <= p.x_ + dim.wid && y >= p.y_ - dim.asc && y <= p.y_ + dim.des) { LYXERR(Debug::DEBUG)