Fixed SW_RESTORE handling.

1 file changed