summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cfe9154)
raw | patch | inline | side by side (parent: cfe9154)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sun, 4 Apr 2010 22:16:13 +0000 (00:16 +0200) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sun, 4 Apr 2010 22:16:13 +0000 (00:16 +0200) |
src/text-context.cpp | patch | blob | history |
diff --git a/src/text-context.cpp b/src/text-context.cpp
index 4f89bd1e144bd5cf106425fa275a5f7d25e3b703..984876f783b1f5de32ccf2844f5322b25ed732ec 100644 (file)
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -684,7 +684,7 @@ sp_text_context_root_handler(SPEventContext *const event_context, GdkEvent *cons
// Cursor height is defined by the new text object's font size; it needs to be set
// articifically here, for the text object does not exist yet:
double cursor_height = sp_desktop_get_font_size_tool(desktop);
- sp_ctrlline_set_coords(SP_CTRLLINE(tc->cursor), dtp, dtp + Geom::Point(0, cursor_height));
+ sp_ctrlline_set_coords(SP_CTRLLINE(tc->cursor), dtp, dtp - Geom::Point(0, cursor_height));
event_context->_message_context->set(Inkscape::NORMAL_MESSAGE, _("Type text; <b>Enter</b> to start new line.")); // FIXME:: this is a copy of a string from _update_cursor below, do not desync
event_context->within_tolerance = false;