summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Config/SConscript')
-rw-r--r--Swiften/Config/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Config/SConscript b/Swiften/Config/SConscript
index 962093a..5b1ce4e 100644
--- a/Swiften/Config/SConscript
+++ b/Swiften/Config/SConscript
@@ -7,7 +7,7 @@ def cStringVariable(env, cVar, sconsVar) :
result = "const char* " + cVar + "[] = {\n"
# FIXME: Probably not very robust
for var in sconsVar.split(" ") :
- result += "\t\"" + env.subst(var) + "\",\n"
+ result += "\t\"" + env.subst(var).replace("\\", "\\\\") + "\",\n"
result += "\t0\n"
result += "};\n"
return result