Use helper function in StartWindozeCycle()
commit333dbf54184a62050d77f44f88baabf426e1db8b
authorCarlos R. Mafra <crmafra@gmail.com>
Thu, 20 Aug 2009 13:38:12 +0000 (20 15:38 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 20 Aug 2009 13:46:45 +0000 (20 15:46 +0200)
tree0230f767862ced6292fef935eb307d4764f913ca
parenta9238c99b98eb44e03e8eadc509c4cc9c3918640
Use helper function in StartWindozeCycle()

This way we avoid code duplication in 6 places.

This changes the previous behavior of the first
instance because the helper function has an extra

       CommitStacking(scr);

 compared to the original code. But it should not
 hurt to have it.
src/cycling.c