diff --git a/Password_manager/include/win.h b/Password_manager/include/win.h index f02eccf..647e199 100644 --- a/Password_manager/include/win.h +++ b/Password_manager/include/win.h @@ -1,4 +1,4 @@ #pragma once bool put_data_on_clipboard(const char* text); -std::string get_passwd(); \ No newline at end of file +std::string get_user_password(); \ No newline at end of file diff --git a/Password_manager/source/main.cpp b/Password_manager/source/main.cpp index 4de6f5e..bf9ffa7 100644 --- a/Password_manager/source/main.cpp +++ b/Password_manager/source/main.cpp @@ -88,7 +88,7 @@ int main(int argc, char** argv) } printf_s("Input main password:"); - std::string user_pass = get_passwd(); + std::string user_pass = get_user_password(); if (user_pass.empty()) { printf_s("Error getting password\n"); diff --git a/Password_manager/source/win.cpp b/Password_manager/source/win.cpp index 428ca13..21f6abe 100644 --- a/Password_manager/source/win.cpp +++ b/Password_manager/source/win.cpp @@ -40,7 +40,7 @@ bool put_data_on_clipboard(const char* text) { } -std::string get_passwd() +std::string get_user_password() { HANDLE hStdInput = GetStdHandle(STD_INPUT_HANDLE);