summaryrefslogtreecommitdiff
path: root/src/configgen.py
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 10:54:45 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-15 10:54:45 +0900
commit5e552810bc3dfc820036b4b16ae53561bb7cf3c6 (patch)
tree50ee6379d4fdad236b392051a73a2825dc98fb5e /src/configgen.py
parentd6f1e74d173f59fc63d7e031cd9685b4eb38fed2 (diff)
downloaddoxygen-5e552810bc3dfc820036b4b16ae53561bb7cf3c6.tar.gz
doxygen-5e552810bc3dfc820036b4b16ae53561bb7cf3c6.tar.bz2
doxygen-5e552810bc3dfc820036b4b16ae53561bb7cf3c6.zip
Imported Upstream version 1.8.15upstream/1.8.15
Diffstat (limited to 'src/configgen.py')
-rwxr-xr-xsrc/configgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configgen.py b/src/configgen.py
index 33857b7..ca2a5d1 100755
--- a/src/configgen.py
+++ b/src/configgen.py
@@ -272,7 +272,7 @@ def parseOption(node):
print(" \"%s\"" % (line))
print(" );")
if defval != '':
- print(" cs->setDefaultValue(\"%s\");" % (defval))
+ print(" cs->setDefaultValue(\"%s\");" % (defval.replace('\\','\\\\')))
if format == 'file':
print(" cs->setWidgetType(ConfigString::File);")
elif format == 'image':
@@ -529,7 +529,7 @@ def parseOptionDoc(node, first):
if defval != '':
print("")
print("The default value is: <code>%s</code>." % (
- defval))
+ defval.replace('\\','\\\\')))
print("")
# depends handling
if (node.hasAttribute('depends')):