From 99151db906d1234d3cc6d489b04d14542fad09bd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 27 Sep 2011 22:19:29 +1000 Subject: Standardize code style. --- src/CallTip.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/CallTip.cxx b/src/CallTip.cxx index 4da4142a8..d93d80411 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -289,12 +289,9 @@ PRectangle CallTip::CallTipStart(int pos, Point pt, int textHeight, const char * // the tip text, else to the tip text left edge. int height = lineHeight * numLines - surfaceMeasure->InternalLeading(font) + 2 + 2; delete surfaceMeasure; - if (above) - { + if (above) { return PRectangle(pt.x - offsetMain, pt.y - 1 - height, pt.x + width - offsetMain, pt.y - 1); - } - else - { + } else { return PRectangle(pt.x - offsetMain, pt.y + 1 + textHeight, pt.x + width - offsetMain, pt.y + 1 + textHeight + height); } } -- cgit v1.2.3