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
parent d4f636151b
commit f43e049444
18 changed files with 35 additions and 23 deletions

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);
}