From 708e274fa379015ec34d0186187c07a37eebb3da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Wed, 8 Dec 2010 18:48:05 +0100
Subject: Fixed swiften-config on windows.


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
-- 
cgit v0.10.2-6-g49f6