浏览代码

Removed explicit usage of the 'register' keyword.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 3 个月前
父节点
当前提交
27abefa9f3
签署人:: MicheleC <michele.calgaro@yahoo.it> GPG 密钥 ID: 2A75B7CA8ADED5CF
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      src/arkollon/headerlistitem.cpp

+ 4
- 4
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;


正在加载...
取消
保存