Skip to content

Commit a2e093f

Browse files
committed
chore(c): fix some generated formatting issues
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
1 parent a365c5b commit a2e093f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/generator/c/templates/source.c.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static const char * const kFnNames_{{ fs.spec_name | spec_display }}[] = {
6363
or a switch inside the loop). */
6464
static const uint8_t kCommandScopes_{{ fs.spec_name | spec_display }}[] = {
6565
{%- for cmd in fs.commands %}
66-
/* {{ cmd.index | rjust(4) }} */ {{ cmd.scope }}, /* {{ cmd.name }} */
66+
/* {{ cmd.index | rjust(4) }} */ {{ cmd.scope | ljust(25) }}, /* {{ cmd.name }} */
6767
{%- endfor %}
6868
};
6969
{% endif %}
@@ -886,4 +886,4 @@ int gloamLoadVulkan(VkInstance instance, VkPhysicalDevice physical_device, VkDev
886886
#endif /* __linux */
887887
{% elif fs.spec_name == "wgl" -%}
888888
#endif /* _WIN32 */
889-
{% endif %}
889+
{% endif %}

0 commit comments

Comments
 (0)