removed sizeof(char)

sizeof(char) == 1 according to standard
This commit is contained in:
Dmitry Podgorny
2013-08-03 13:17:50 +03:00
parent 51b2137705
commit c559d96d77
4 changed files with 9 additions and 9 deletions

View File

@@ -191,7 +191,7 @@ status_bar_print_message(const char * const msg)
werase(status_bar);
message = (char *) malloc((strlen(msg) + 1) * sizeof(char));
message = (char *) malloc(strlen(msg) + 1);
strcpy(message, msg);
mvwprintw(status_bar, 0, 10, message);