Fix time renewal problem by using buffer.

git-svn-id: http://ninja-scan-light.googlecode.com/svn/trunk@215 94d2995a-3457-b8a5-7510-40b377e6a921