summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4cd967e)
raw | patch | inline | side by side (parent: 4cd967e)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sat, 16 Jan 2010 11:04:47 +0000 (12:04 +0100) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Sat, 16 Jan 2010 11:04:47 +0000 (12:04 +0100) |
Fixes crasher.
src/ui/tool/curve-drag-point.cpp | patch | blob | history |
index dbd19c754f63dbf90de34c5da70cff2bfb47a40e..0d1183ebf92a8bde407d2bafe705097555b7cfdf 100644 (file)
Glib::ustring CurveDragPoint::_getTip(unsigned state)
{
- if (!first || !first.next()) return NULL;
+ if (!first || !first.next()) return "";
bool linear = first->front()->isDegenerate() && first.next()->back()->isDegenerate();
if (state_held_shift(state)) {
return C_("Path segment statusbar tip",