diff options
| author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-06-01 13:51:10 +0200 |
|---|---|---|
| committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-06-01 13:52:58 +0200 |
| commit | dc981d8af72a1e9b3af72a8a32235696205cc9a0 (patch) | |
| tree | 879a4547295b323a338e615f2a1db50940ec7865 /editor/project_manager.cpp | |
| parent | cfb9709c10483f7f58a8b96248c23d0a5f1d5ad7 (diff) | |
| download | redot-engine-dc981d8af72a1e9b3af72a8a32235696205cc9a0.tar.gz | |
Display longer Git hashes in engine version dialogs
Due to the high number of commits in the Godot repository,
7-character hashes were starting to become occasionally ambiguous.
In contrast, 9-character hashes are currently unambiguous for
all commits.
Diffstat (limited to 'editor/project_manager.cpp')
| -rw-r--r-- | editor/project_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index b0baf954d2..7b521aba13 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1971,7 +1971,7 @@ ProjectManager::ProjectManager() { l = memnew(Label); String hash = String(VERSION_HASH); if (hash.length() != 0) - hash = "." + hash.left(7); + hash = "." + hash.left(9); l->set_text("v" VERSION_FULL_BUILD "" + hash); l->set_align(Label::ALIGN_CENTER); top_hb->add_child(l); |
