fix error judgment on return value in pauseframe
Merge pull request #1050 from ruil2/update_param

fix error judgment on return value in pauseframe