Fix copy and paste error

Fix error 11 identified by static analysis from
http://www.viva64.com/en/b/0251/

Change-Id: I3ed821c6d7cda874bfa5e3a24ccde1a4f2f13ec9
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>