fixed #27
diff --git a/scripts/update_stuff.py b/scripts/update_stuff.py
index 12bdea6..89b52f5 100644
--- a/scripts/update_stuff.py
+++ b/scripts/update_stuff.py
@@ -26,8 +26,8 @@
doctest_contents += "#define DOCTEST_VERSION_MINOR " + version_minor + "\n"
elif line.startswith("#define DOCTEST_VERSION_PATCH "):
doctest_contents += "#define DOCTEST_VERSION_PATCH " + version_patch + "\n"
- elif line.startswith("#define DOCTEST_VERSION "):
- doctest_contents += "#define DOCTEST_VERSION \"" + version + "\"\n"
+ elif line.startswith("#define DOCTEST_VERSION_STR "):
+ doctest_contents += "#define DOCTEST_VERSION_STR \"" + version + "\"\n"
else:
doctest_contents += line