Kaydet (Commit) cfcf0254 authored tarafından Caolán McNamara's avatar Caolán McNamara

afl-eventtesting: div by zero

Change-Id: If070da723858b5e1221bda86e69225ee57ec9d02
üst cbe2b9cb
......@@ -1326,7 +1326,7 @@ void ValueSet::KeyInput( const KeyEvent& rKeyEvent )
{
if (nCurPos == nLastItem)
{
const size_t nCol = nLastItem % mnCols;
const size_t nCol = mnCols ? nLastItem % mnCols : 0;
if (nCol < mnCurCol)
{
// Move to previous row/page, keeping the old column
......
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