mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 02:22:36 +02:00
Changed tab to spaces in a couple of places
This commit is contained in:
parent
9db14f100e
commit
76c97caba2
2 changed files with 12 additions and 12 deletions
|
|
@ -106,14 +106,14 @@ HISTORY_REC *command_history_current(WINDOW_REC *window)
|
|||
|
||||
void command_history_clear(WINDOW_REC *window)
|
||||
{
|
||||
if (window_history) {
|
||||
if (command_history_destroy(window->history))
|
||||
window->history = command_history_create(NULL);
|
||||
}
|
||||
else {
|
||||
if (command_history_destroy(global_history))
|
||||
global_history = command_history_create(NULL);
|
||||
}
|
||||
if (window_history) {
|
||||
if (command_history_destroy(window->history))
|
||||
window->history = command_history_create(NULL);
|
||||
}
|
||||
else {
|
||||
if (command_history_destroy(global_history))
|
||||
global_history = command_history_create(NULL);
|
||||
}
|
||||
}
|
||||
|
||||
const char *command_history_prev(WINDOW_REC *window, const char *text)
|
||||
|
|
|
|||
|
|
@ -628,11 +628,11 @@ void cmd_window_history(const char *data)
|
|||
return;
|
||||
|
||||
if (*name == '\0' && g_hash_table_lookup(optlist, "clear") != NULL)
|
||||
command_history_clear(active_win);
|
||||
else if (*name != '\0')
|
||||
window_set_history(active_win, name);
|
||||
command_history_clear(active_win);
|
||||
else if (*name != '\0')
|
||||
window_set_history(active_win, name);
|
||||
|
||||
cmd_params_free(free_arg);
|
||||
cmd_params_free(free_arg);
|
||||
}
|
||||
|
||||
/* we're moving the first window to last - move the first contiguous block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue