Code to detect single or double click

I just copied that code. Haha. From what I know it translates to the following:

if (0 == msec) {
  msecLst =  1;
} else {
  msecLst =  msec;
}

I'm not sure why gcjr wanted msecLst = 1; and not msecLst = 0;