diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:59 +0900 |
commit | 27abefa9f34b655d9fe97ac991a579a19a5b03db (patch) | |
tree | f5b69cf909f6a70631b42459d345e3f1db844428 | |
parent | e5a390b1761b5494386ff0751a570575e933e24f (diff) | |
download | tork-27abefa9f34b655d9fe97ac991a579a19a5b03db.tar.gz tork-27abefa9f34b655d9fe97ac991a579a19a5b03db.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/arkollon/headerlistitem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arkollon/headerlistitem.cpp b/src/arkollon/headerlistitem.cpp index 731435c..0c29e6f 100644 --- a/src/arkollon/headerlistitem.cpp +++ b/src/arkollon/headerlistitem.cpp @@ -82,15 +82,15 @@ void HeaderListItem::paintCell(TQPainter* p, const TQColorGroup& cg, int , int w int rDiff, gDiff, bDiff; int rca, gca, bca /*, rcb, gcb, bcb*/; -// register int x, y; +// int x, y; rDiff = (/*rcb = */ cb.red()) - (rca = ca.red()); gDiff = (/*gcb = */ cb.green()) - (gca = ca.green()); bDiff = (/*bcb = */ cb.blue()) - (bca = ca.blue()); - register int rl = rca << 16; - register int gl = gca << 16; - register int bl = bca << 16; + int rl = rca << 16; + int gl = gca << 16; + int bl = bca << 16; int rcdelta = ((1<<16) / 20) * rDiff; int gcdelta = ((1<<16) / 20) * gDiff; |