Browse Source

Removed explicit usage of the 'register' keyword.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 2 months ago
parent
commit
2a2efe6e72
Signed by: MicheleC <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      style/lipstik.cpp

+ 4
- 4
style/lipstik.cpp View File

@@ -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;


Loading…
Cancel
Save