Fixed windows logo on other platforms
This commit is contained in:
parent
e977f9c57e
commit
e0d7d7ede1
2 changed files with 12 additions and 13 deletions
|
|
@ -124,11 +124,7 @@ char user[128], host[256], shell[64], host_model[256], kernel[256], version_name
|
|||
gpu_model[64][256],
|
||||
pkgman_name[64], image_name[128], *config_directory = NULL, *cache_content = NULL;
|
||||
|
||||
#ifndef __WINDOWS__
|
||||
char *terminal_cursor_move = "\033[18C";
|
||||
#else // __WINDOWS__
|
||||
char *terminal_cursor_move = "\033[21C";
|
||||
#endif // __WINDOWS__
|
||||
|
||||
// functions definitions, to use them in main()
|
||||
int pkgman();
|
||||
|
|
@ -1005,6 +1001,9 @@ void get_info()
|
|||
}
|
||||
#endif // __WINDOWS__
|
||||
|
||||
if (strcmp(version_name, "windows"))
|
||||
terminal_cursor_move = "\033[21C";
|
||||
|
||||
// package count
|
||||
pkgs = pkgman();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue