Update glidemain.c

Trying out a fix