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 23:53:01 +0900 |
commit | 447b2053531f2e1c0a70ee9672e41616b2ec8a28 (patch) | |
tree | b6996af869bbf138600b14b47808aaad9a701c9b /src | |
parent | 7970d23f41ce620fedaefaf0a56c05e235d3187f (diff) | |
download | tork-447b2053531f2e1c0a70ee9672e41616b2ec8a28.tar.gz tork-447b2053531f2e1c0a70ee9672e41616b2ec8a28.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 27abefa9f34b655d9fe97ac991a579a19a5b03db)
Diffstat (limited to 'src')
-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; |