From 0dc4a1fa9704433df87c08bea263f99fc18ac0b6 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 23 Sep 2007 08:59:50 +0000 Subject: [PATCH] Fix Cut&Paste bug. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20445 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextMetrics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2