Remove remaining 'register' instruction.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/13/head
Slávek Banko 7 months ago
parent db79df3596
commit 90e7e6e752
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -605,15 +605,15 @@ void SUSE2Button::renderGradient(TQPainter *painter, const TQRect &rect, const T
int rDiff, gDiff, bDiff;
int rc, gc, bc;
register int y;
int y;
rDiff = ( c1.red()) - (rc = c2.red());
gDiff = ( c1.green()) - (gc = c2.green());
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) / r_h) * rDiff;
int gdelta = ((1<<16) / r_h) * gDiff;

Loading…
Cancel
Save