Changeset 676 for trunk/Cocoa


Ignore:
Timestamp:
02/04/17 17:57:30 (8 years ago)
Author:
Nicholas Riley
Message:

CTBadge/CTGradient.m: Fix float data type issue identified by newer compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/AntiRSI/CTBadge/CTGradient.m

    r370 r676  
    650650        float rangle = angle * pi/180;  //convert the angle to radians
    651651       
    652         if(fabsf(tan(rangle))<=1)       //for range [-45,45], [135,225]
     652        if(fabsf(tanf(rangle))<=1)      //for range [-45,45], [135,225]
    653653                {
    654654                x = NSWidth(rect);
Note: See TracChangeset for help on using the changeset viewer.