浏览代码

Fixes bug where slashes would disappear

Fixes bug where backslashes would disappear because of backslash being an escape character. (I think)
Thareh 1 年之前
父节点
当前提交
f3d0db0cf5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ctranslator.bmx

+ 1 - 0
ctranslator.bmx

@@ -6803,6 +6803,7 @@ End If
 		If opt_debug Then
 			For Local Hash:String = EachIn fileRegister.Keys()
 				Local file:String = String(fileRegister.ValueForKey(Hash))
+				file = file.Replace("\", "\\")
 				Emit "bbRegisterSource(" + Hash + ", ~q" + file + "~q);"
 			Next
 		End If