Update simplewayfind.cpp

use shorter way to get position