Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/ConsoleInterface/Toolbox.hpp2
diff --git a/src/ConsoleInterface/Toolbox.hpp b/src/ConsoleInterface/Toolbox.hpp
index a198684..dcb9459 100644
--- a/src/ConsoleInterface/Toolbox.hpp
+++ b/src/ConsoleInterface/Toolbox.hpp
@@ -55,7 +55,7 @@ void inputBoxLabel(const char* label) {
template <typename T>
void inputBox(const char* label, T* output) {
inputBoxLabel(label);
- std::cin >> output;
+ std::cin >> *output;
}
void inputLineBox(const char* label, char* output, unsigned maxWidth) {