void Plugin_Playback::UpdateSliderPositionAndLCD() { DWORD dwMS; CCString sTime; if(this->bIsDragging == FALSE) { this->pCore->Player.GetPos(&dwMS, &this->pCore->Log); this->cSlider.SetPos(dwMS); LLFormatMilliseconds(dwMS, &sTime); if(sTime.cmp(this->sLastLCDText) != 0) { this->sLastLCDText = sTime; this->cLCD.SetText(sTime); } } }