mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 12:06:35 +01:00
format fixes
This commit is contained in:
@@ -236,9 +236,8 @@ void add_line_to_hist(ChatContext *ctx)
|
||||
resets line if at end of history */
|
||||
void fetch_hist_item(ChatContext *ctx, int key_dir)
|
||||
{
|
||||
if(wcscmp(ctx->line, L"\0") != 0
|
||||
&& ctx->hst_pos == ctx->hst_tot)
|
||||
{
|
||||
if (wcscmp(ctx->line, L"\0") != 0
|
||||
&& ctx->hst_pos == ctx->hst_tot) {
|
||||
add_line_to_hist(ctx);
|
||||
ctx->hst_pos--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user