Fixes a coding mistake.

Also removes trailing whitespace.

Signed-off-by: Andreas Schacherbauer <andreas.schacherbauer@wikitude.com>
Merge pull request #15 from AndreasSchacherbauerWikitude/master

Fixes a coding mistake.