summaryrefslogtreecommitdiff
path: root/modules/mono/SCsub
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2018-10-22 19:27:41 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2018-10-25 18:00:24 +0200
commitc6e2873605c33230210af2738f59b869ffe2141c (patch)
treed3be1391e99204cd15364bbf30dff73fa94e2e92 /modules/mono/SCsub
parent92af2e620bebeb579caf14e7f184e51d02fa74eb (diff)
Fix msvc warnings in mono module
- `modules\mono\csharp_script.cpp(576): warning C4099: 'CSharpScriptDepSort': type name first seen using 'class' now seen using 'struct'` - `modules\mono\signal_awaiter_utils.cpp(144): warning C4003: not enough actual parameters for macro 'ERR_FAIL_V'` - `modules\mono\editor\net_solution.cpp(101): warning C4129: '%': unrecognized character escape sequence` - (several) `modules\mono\glue\cs_compressed.gen.h(222): warning C4129: 'E': unrecognized character escape sequence`
Diffstat (limited to 'modules/mono/SCsub')
-rw-r--r--modules/mono/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/SCsub b/modules/mono/SCsub
index ef06fc93d2..0e5dd9b4cf 100644
--- a/modules/mono/SCsub
+++ b/modules/mono/SCsub
@@ -44,7 +44,7 @@ def make_cs_files_header(src, dst, version_dst):
if i > 0:
header.write(', ')
header.write(byte_to_str(buf[buf_idx]))
- inserted_files += '\tr_files.insert("' + filepath_src_rel + '", ' \
+ inserted_files += '\tr_files.insert("' + filepath_src_rel.replace('\\', '\\\\') + '", ' \
'CompressedFile(_cs_' + name + '_compressed_size, ' \
'_cs_' + name + '_uncompressed_size, ' \
'_cs_' + name + '_compressed));\n'