From 2ab01d69f9d427bdf3536e1508a465372cd040c6 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Thu, 14 Jan 2010 17:02:46 -0800 Subject: Warning cleanup. (bzr r8981) --- src/text-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/text-context.cpp') diff --git a/src/text-context.cpp b/src/text-context.cpp index fc28dc8e4..4f89bd1e1 100644 --- a/src/text-context.cpp +++ b/src/text-context.cpp @@ -1597,7 +1597,7 @@ sp_text_context_update_cursor(SPTextContext *tc, bool scroll_to_see) Inkscape::Text::Layout const *layout = te_get_layout(tc->text); int const nChars = layout->iteratorToCharIndex(layout->end()); - char *trunc = ""; + char const *trunc = ""; bool truncated = false; if (layout->inputTruncated()) { truncated = true; -- cgit v1.2.3