xbmc/xbmc — pull request #2247 by phil65 (2013-02-16 10:06:40+00:00)
Title: Fix for AlarmClock(): Prevent freeze-up when time <=0 and loop = true

Small fix for a potential Freeze-up:
ATM xbmc freezes when we call AlarmClock() with time <= 0 and loop = true.
for skins this could happen when we allow the user to set the AlarmClock loop time with Skin.SetNumeric and then call
"AlarmClock(name,Notification(test,test),$INFO[Skin.String(Time)],loop=true)"
with "Time" <= 0.
This commit fixes that.