top: add sizeof(G) check; fix style

1 file changed