This commit is contained in:
Rene Gollent
2013-05-02 22:08:37 -04:00
parent 22dc5f2bcd
commit c7b441ac1e
@@ -981,17 +981,15 @@ SourceView::MarkerView::GetToolTipAt(BPoint point, BToolTip** _tip)
if (marker == NULL) {
text.SetToFormat(kEnableBreakpointMessage, line);
} else if ((modifiers() & B_SHIFT_KEY) != 0) {
if (!marker->IsEnabled()) {
if (!marker->IsEnabled())
text.SetToFormat(kClearBreakpointMessage, line);
} else {
else
text.SetToFormat(kDisableBreakpointMessage, line);
}
} else {
if (marker->IsEnabled()) {
if (marker->IsEnabled())
text.SetToFormat(kClearBreakpointMessage, line);
} else {
else
text.SetToFormat(kEnableBreakpointMessage, line);
}
}
if (text.Length() > 0) {