summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:57 +0900
committerMichele Calgaro <[email protected]>2020-01-30 23:52:59 +0900
commit043635fc60b030fc7a3c6e537fbe6efd284915d2 (patch)
treead8de02d08d5c242a1a5e011519d91be17fddf9e
parent9c186855a55701c046a17c09157fa617baf271f9 (diff)
downloadtde-style-lipstik-043635fc60b030fc7a3c6e537fbe6efd284915d2.tar.gz
tde-style-lipstik-043635fc60b030fc7a3c6e537fbe6efd284915d2.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 2a2efe6e72dc906906ddbc50020e70ece847375f)
-rw-r--r--style/lipstik.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/style/lipstik.cpp b/style/lipstik.cpp
index c4869fc..2510786 100644
--- a/style/lipstik.cpp
+++ b/style/lipstik.cpp
@@ -898,7 +898,7 @@ void LipstikStyle::renderGradient(TQPainter *painter,
int rDiff, gDiff, bDiff;
int rc, gc, bc;
- register int x, y;
+ int x, y;
if( _reverseGradients ) {
rDiff = ( c2.red()) - (rc = c1.red());
@@ -910,9 +910,9 @@ void LipstikStyle::renderGradient(TQPainter *painter,
bDiff = ( c1.blue()) - (bc = c2.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_h : r_w)) * rDiff;
int gdelta = ((1<<16) / (horizontal ? r_h : r_w)) * gDiff;