fix #4406:
wrong usage of return of snprintf() / crash with many video modes