From d711066980456f05406ef872962d4d989969dff4 Mon Sep 17 00:00:00 2001 From: chenhuan Date: Thu, 28 Nov 2019 12:31:56 +0100 Subject: [PATCH] fix a false spell ("resolution") --- main/main.cpp | 1 + src/GUI.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/main.cpp b/main/main.cpp index e71e8be..f84d01f 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -6,4 +6,5 @@ int main(int argc, char **argv) { GUI_run(argc,argv); + } \ No newline at end of file diff --git a/src/GUI.cpp b/src/GUI.cpp index e90b36d..db97b4f 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -29,7 +29,7 @@ auto GUI_run(int argc, char **argv) -> int { char *get_resolusion(int window_height, int window_width) { char *resolusion = new char[25]; std::string str_temp; - strcpy(resolusion, "Resolusion Height:"); + strcpy(resolusion, "Resolution Height:"); str_temp = std::to_string(window_height); strcat(resolusion, str_temp.c_str()); strcat(resolusion, " Width:");