diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:56 +0900 |
commit | d94114bcfa4d792c5f0db547a4f5e777704a2ebb (patch) | |
tree | 0dc3729071e61c9cc2eadcf50cd25b2ad525cc78 | |
parent | 88bbe2df4447a87c0988145f67bddf120237504a (diff) | |
download | tde-style-ia-ora-d94114bcfa4d792c5f0db547a4f5e777704a2ebb.tar.gz tde-style-ia-ora-d94114bcfa4d792c5f0db547a4f5e777704a2ebb.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/widget/ia_ora.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widget/ia_ora.cpp b/src/widget/ia_ora.cpp index 522e588..22ad895 100644 --- a/src/widget/ia_ora.cpp +++ b/src/widget/ia_ora.cpp @@ -3184,15 +3184,15 @@ void MandrivaStyle::renderGradient(TQPainter *painter, int rDiff, gDiff, bDiff; int rc, gc, bc; - register int x, y; + int x, y; rDiff = ( c2.red()) - (rc = c1.red()); gDiff = ( c2.green()) - (gc = c1.green()); bDiff = ( c2.blue()) - (bc = c1.blue()); - register int rl = rc << 16; - register int gl = gc << 16; - register int bl = bc << 16; + int rl = rc << 16; + int gl = gc << 16; + int bl = bc << 16; int rdelta = ((1<<16) / (horizontal ? r_w : r_h)) * rDiff; int gdelta = ((1<<16) / (horizontal ? r_w : r_h)) * gDiff; |