Browse Source

Timer::RepeatSetter wasn't getting the right value

v0.7.4-release
Ryan 16 years ago
parent
commit
89320036a8
  1. 4
      src/timer.cc

4
src/timer.cc

@ -49,9 +49,9 @@ Timer::RepeatSetter (Local<String> property, Local<Value> 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

Loading…
Cancel
Save