Merged runoff.c fix (issue #123).