Between the 2, the Glock 26 shouldn't be compared to the S&W 9c. The G26 is a subcompact, while the 9c is a compact.
A fair comparison is the S&W 9c VS the Glock 19.
That being said, go for which one fits your hand the best.
This for sure. Don't go for the popular flavor. You can change sights and triggers but it is very hard to significantly change the way it feels in your hand. Though I do put some value in how a gun looks, fit and function come first.
I really wanted a Glock 17 but after handling one and then the M&P 9, the M&P felt better in my hand so I went with it.