[ cinepaint-Bugs-3334843 ] Unusual arithmetic construct in brush_popup_open()

"SourceForge.net" <[email protected]> Sun, 26 Jun 2011 13:06:40 -0400
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Bugs item #3334843, was opened at 2011-06-26 13:06
Message generated for change (Tracker Item Submitted) made by ggeleji
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542706&aid=3334843&group_id=75029

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Linux
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Geza Geleji (ggeleji)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unusual arithmetic construct in brush_popup_open()

Initial Comment:
Lines 746-747 of depth/brush_select.c, function brush_popup_open():

x = x_org + x - w * 0.5;
y = y_org + y - h * 0.5;

Should be:

x = x_org + x - w  / 2;
y = y_org + y - h / 2;


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542706&aid=3334843&group_id=75029

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2