This is dependant on what diagonal measurement system you've got set up in the Page Settings. By Default, a page uses the D&D 4th Edition diagonal rules which counts diagonals the same as cardinal directions. You can switch this to D&D 3.5/Pathfinder style, Euclidean or Manhattan from the page settings.