diff options
| author | Rémi Verschelde | 2017-11-19 21:18:01 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-11-20 00:51:14 +0100 |
| commit | 6947bed015c33706b9a441fd47cd84f0da99097c (patch) | |
| tree | f5069ae2bbdbc29f65366807ad5e217e3c293fa8 /editor/doc | |
| parent | ecf80fbbbadaa782cbe81a6562916331c6762970 (diff) | |
| download | godot-6947bed015c33706b9a441fd47cd84f0da99097c.tar.gz godot-6947bed015c33706b9a441fd47cd84f0da99097c.tar.zst godot-6947bed015c33706b9a441fd47cd84f0da99097c.zip | |
Diffstat (limited to 'editor/doc')
| -rw-r--r-- | editor/doc/doc_data.cpp | 2 | ||||
| -rw-r--r-- | editor/doc/doc_dump.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp index f7f823c94..1f9884aa7 100644 --- a/editor/doc/doc_data.cpp +++ b/editor/doc/doc_data.cpp @@ -951,7 +951,7 @@ Error DocData::save_classes(const String &p_default_path, const Map<String, Stri if (c.category == "") category = "Core"; header += " category=\"" + category + "\""; - header += String(" version=\"") + _MKSTR(VERSION_MAJOR) + "." + _MKSTR(VERSION_MINOR) + "-" + _MKSTR(VERSION_STATUS) + "\""; + header += String(" version=\"") + itos(VERSION_MAJOR) + "." + itos(VERSION_MINOR) + "-" + VERSION_STATUS + "\""; header += ">"; _write_string(f, 0, header); _write_string(f, 1, "<brief_description>"); diff --git a/editor/doc/doc_dump.cpp b/editor/doc/doc_dump.cpp index 45b761365..9dd05d9d0 100644 --- a/editor/doc/doc_dump.cpp +++ b/editor/doc/doc_dump.cpp @@ -82,7 +82,7 @@ void DocDump::dump(const String &p_file) { FileAccess *f = FileAccess::open(p_file, FileAccess::WRITE); _write_string(f, 0, "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"); - _write_string(f, 0, String("<doc version=\"") + _MKSTR(VERSION_MAJOR) + "." + _MKSTR(VERSION_MINOR) + "-" + _MKSTR(VERSION_STATUS) + "\" name=\"Engine Types\">"); + _write_string(f, 0, String("<doc version=\"") + itos(VERSION_MAJOR) + "." + itos(VERSION_MINOR) + "-" + VERSION_STATUS + "\" name=\"Engine Types\">"); while (class_list.size()) { |
