summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-08 17:48:05 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-08 17:50:02 (GMT)
commit708e274fa379015ec34d0186187c07a37eebb3da (patch)
tree6ce948ec005ee667eda285fd348829e1f9b7c4be
parent519b8c8767ce938eaa5990d71e5e8901069874f7 (diff)
downloadswift-contrib-708e274fa379015ec34d0186187c07a37eebb3da.zip
swift-contrib-708e274fa379015ec34d0186187c07a37eebb3da.tar.bz2
Fixed swiften-config on windows.
-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