From 1bf7e1596bffd8334a481bd771553943bcf4acf2 Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Fri, 28 Aug 2020 21:45:49 +0100 Subject: [PATCH] vbin2v: always lowercase generated const names --- cmd/tools/vbin2v.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/vbin2v.v b/cmd/tools/vbin2v.v index b0e325486b..6c0f7bd91c 100644 --- a/cmd/tools/vbin2v.v +++ b/cmd/tools/vbin2v.v @@ -54,7 +54,7 @@ fn (context Context) file2v(file string) string { mut sb := strings.new_builder(1000) fname := os.file_name(file) fname_no_dots := fname.replace('.', '_') - byte_name := '${context.prefix}${fname_no_dots}' + byte_name := '${context.prefix}${fname_no_dots}'.to_lower() fbytes := os.read_bytes(file) or { eprintln('Error: $err') return ''