fix a false spell ("resolution")
This commit is contained in:
parent
46de465d99
commit
d711066980
|
@ -6,4 +6,5 @@
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
GUI_run(argc,argv);
|
GUI_run(argc,argv);
|
||||||
|
|
||||||
}
|
}
|
|
@ -29,7 +29,7 @@ auto GUI_run(int argc, char **argv) -> int {
|
||||||
char *get_resolusion(int window_height, int window_width) {
|
char *get_resolusion(int window_height, int window_width) {
|
||||||
char *resolusion = new char[25];
|
char *resolusion = new char[25];
|
||||||
std::string str_temp;
|
std::string str_temp;
|
||||||
strcpy(resolusion, "Resolusion Height:");
|
strcpy(resolusion, "Resolution Height:");
|
||||||
str_temp = std::to_string(window_height);
|
str_temp = std::to_string(window_height);
|
||||||
strcat(resolusion, str_temp.c_str());
|
strcat(resolusion, str_temp.c_str());
|
||||||
strcat(resolusion, " Width:");
|
strcat(resolusion, " Width:");
|
||||||
|
|
Loading…
Reference in New Issue