Add url support (downloading) to /plugins install
Additional changes include code refactoring.
This commit is contained in:
@@ -54,7 +54,11 @@ http_print_transfer_update(ProfWin* window, char* id, const char* fmt, ...)
|
||||
g_string_vprintf(msg, fmt, args);
|
||||
va_end(args);
|
||||
|
||||
win_update_entry_message(window, id, msg->str);
|
||||
if (window->type != WIN_CONSOLE) {
|
||||
win_update_entry_message(window, id, msg->str);
|
||||
} else {
|
||||
cons_show("%s", msg->str);
|
||||
}
|
||||
|
||||
g_string_free(msg, TRUE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user