Refactor removing extra space and add break line for { (#5533)

Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
This commit is contained in:
Maicon Santana 2026-02-05 14:10:55 +00:00 • committed by GitHub
commit f43e049444
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -894,7 +894,8 @@ void SwapScreenBuffer(void)
const canvas = Module.canvas;
const ctx = canvas.getContext('2d');
if (!Module.__img || (Module.__img.width !== width) || (Module.__img.height !== height)) {
if (!Module.__img || (Module.__img.width !== width) || (Module.__img.height !== height))
{
Module.__img = ctx.createImageData(width, height);
}