mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Allow underline in generated file name
This commit is contained in:
parent
bb6c59e39e
commit
53312a35f3
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ namespace IDE.ui
|
|||
{
|
||||
for (char8 c in fileName.RawChars)
|
||||
{
|
||||
if (!c.IsLetterOrDigit)
|
||||
if (!c.IsLetterOrDigit && c != '_')
|
||||
{
|
||||
gApp.Fail(scope $"Invalid generated file name: {fileName}");
|
||||
hadError = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue