Modified GetRotate to match declaration and use char to for equality tests instead of char*