Просмотр исходного кода

Fixes bug where slashes would disappear

Fixes bug where backslashes would disappear because of backslash being an escape character. (I think)
Thareh 1 год назад
Родитель
Сommit
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