From 895c9ddab6428b36e20df4535d8f72158a9f6950 Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Fri, 27 Feb 2009 18:49:52 +0000 Subject: More accurate wording in snap tooltips (bzr r7388) --- src/sp-text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-text.cpp') diff --git a/src/sp-text.cpp b/src/sp-text.cpp index 91a8a0361..61947311c 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -433,7 +433,7 @@ static void sp_text_snappoints(SPItem const *item, bool const target, SnapPoints // the baseline anchor of the first char Inkscape::Text::Layout const *layout = te_get_layout((SPItem *) item); if(layout != NULL) { - int type = target ? int(Inkscape::SNAPTARGET_HANDLE) : int(Inkscape::SNAPSOURCE_HANDLE); + int type = target ? int(Inkscape::SNAPTARGET_TEXT_BASELINE) : int(Inkscape::SNAPSOURCE_TEXT_BASELINE); p.push_back(std::make_pair(layout->characterAnchorPoint(layout->begin()) * sp_item_i2d_affine(item), type)); } } -- cgit v1.2.3