summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaoulettes <perlouzerie@hotmail.fr>2022-05-19 19:52:30 +0200
committerGitHub <noreply@github.com>2022-05-19 19:52:30 +0200
commitd36b641bfbe5be5158ff09f27bd7971ac1bcb21d (patch)
treeeb92c0d5e5abab512a7ce81262b7ba673f90a7aa
parentbc6def77a4f799a4ecdd15da5ef91da57a640b76 (diff)
few things in comment needed fix
-rw-r--r--libultraship/libultraship/SohImGuiImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libultraship/libultraship/SohImGuiImpl.cpp b/libultraship/libultraship/SohImGuiImpl.cpp
index 207adf86d..3c92043fa 100644
--- a/libultraship/libultraship/SohImGuiImpl.cpp
+++ b/libultraship/libultraship/SohImGuiImpl.cpp
@@ -391,9 +391,9 @@ namespace SohImGui {
}
void EnhancementCombobox(const char* cvarname, const char* ComboArray[], s16 FirstTimeValue = -1){
- //The -1 do not force the make to add a default value
+ //The -1 do not force the maker to add a default first value
if (FirstTimeValue < 0){
- //If there is no default value it will pass this condition
+ //If there is no default value it will pass this condition and so to prevent crash we set 0
FirstTimeValue = 0;
}
//And now we set the default value to the CVar fallback