1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 12:06:35 +01:00

format fixes

This commit is contained in:
jfreegman
2019-12-07 23:17:02 -05:00
parent ddeca171a0
commit 116bff8cef
7 changed files with 17 additions and 15 deletions

View File

@@ -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--;
}