Avoid code duplication between prev_frame and next_frame.
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 6 Dec 2012 06:23:51 +0000 (10:23 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 6 Dec 2012 06:23:51 +0000 (10:23 +0400)
commit565212e5983cdcc478ed34bcdbd63f154e5e418f
tree3baf084ebfd04533d415cbf44c942f422236de62
parentd8ad4d3ff9dcea9c581d72e1e9ec292ea18673b1
Avoid code duplication between prev_frame and next_frame.
* frame.c (candidate_frame): New function.  Add comment.
(prev_frame, next_frame): Use it.  Adjust comment.
src/ChangeLog
src/frame.c