patch from Richard Jinks to fix a problem introduced in the previous patch

* xpath.c: patch from Richard Jinks to fix a problem introduced
  in the previous patch and pointed by Norm
Daniel
2 files changed