Kaydet (Commit) e996e3d1 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Oops, bug.

üst adad96ac
...@@ -155,7 +155,7 @@ void ScActionColorChanger::Update( const ScChangeAction& rAction ) ...@@ -155,7 +155,7 @@ void ScActionColorChanger::Update( const ScChangeAction& rAction )
else else
{ {
size_t nPos = std::distance(rUsers.begin(), it); size_t nPos = std::distance(rUsers.begin(), it);
nLastUserIndex = nPos & SC_AUTHORCOLORCOUNT; nLastUserIndex = nPos % SC_AUTHORCOLORCOUNT;
} }
} }
nColor = nAuthorColor[nLastUserIndex]; nColor = nAuthorColor[nLastUserIndex];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment