Skip to content

Commit affbfba

Browse files
committed
allow formatting C files
1 parent a57010c commit affbfba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oioioi/programs/templates/programs/source.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{% trans "Copy to clipboard" %}
2525
</button>
2626

27-
{% if extension == 'cpp' or extension == 'cc' %}
27+
{% if extension == 'cpp' or extension == 'cc' or extension == 'c' %}
2828
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
2929

3030
<button class="btn btn-outline-secondary" id="format_btn" style="margin-bottom: 3px" onclick="format_cpp_code()">

0 commit comments

Comments
 (0)