Fixed coding standardization issue

Fixed coding standards in writeVidModes function.