diff options
-rw-r--r-- | common/common.h | 2 | ||||
-rw-r--r-- | config/qtcurveconfig.cpp | 8 | ||||
-rw-r--r-- | style/qtcurve.cpp | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/common/common.h b/common/common.h index 88dfb40..34d8345 100644 --- a/common/common.h +++ b/common/common.h @@ -1272,7 +1272,7 @@ static inline double mix(double a, double b, double k) static inline double wrap(double a, double d) { - register double r = fmod( a, d ); + double r = fmod( a, d ); return ( r < 0.0 ? d + r : ( r > 0.0 ? r : 0.0 ) ); } diff --git a/config/qtcurveconfig.cpp b/config/qtcurveconfig.cpp index 64ffcae..68e7c7a 100644 --- a/config/qtcurveconfig.cpp +++ b/config/qtcurveconfig.cpp @@ -85,10 +85,10 @@ static void drawGradient(const TQColor &top, const TQColor &bot, bool increase, r.coords(&rx, &ry, &rx2, &ry2); - register int rl(rTop << 16); - register int gl(gTop << 16); - register int bl(bTop << 16); - register int i; + int rl(rTop << 16); + int gl(gTop << 16); + int bl(bTop << 16); + int i; int dr(((1<<16) * (bot.red() - rTop)) / size), dg(((1<<16) * (bot.green() - gTop)) / size), diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp index 9f06adb..24b1f19 100644 --- a/style/qtcurve.cpp +++ b/style/qtcurve.cpp @@ -7446,10 +7446,10 @@ void QtCurveStyle::drawGradient(const TQColor &top, const TQColor &bot, r.coords(&rx, &ry, &rx2, &ry2); - register int rl(rTop << 16); - register int gl(gTop << 16); - register int bl(bTop << 16); - register int i; + int rl(rTop << 16); + int gl(gTop << 16); + int bl(bTop << 16); + int i; int dr(((1<<16) * (bot.red() - rTop)) / size), dg(((1<<16) * (bot.green() - gTop)) / size), |