From 89320036a81e820e7b4f29279b5ed51191dab689 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 28 Jun 2009 19:58:13 +0200 Subject: [PATCH] Timer::RepeatSetter wasn't getting the right value --- src/timer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timer.cc b/src/timer.cc index f641bf8097..941decf82b 100644 --- a/src/timer.cc +++ b/src/timer.cc @@ -49,9 +49,9 @@ Timer::RepeatSetter (Local property, Local value, const AccessorI Timer *timer = NODE_UNWRAP(Timer, info.This()); assert(timer); - assert (property == REPEAT_SYMBOL); + assert(property == REPEAT_SYMBOL); - timer->watcher_.repeat = (double)(property->IntegerValue()) / 1000; + timer->watcher_.repeat = (double)(value->IntegerValue()) / 1000; } void