Skip to content

Commit

Permalink
ChafaTermInfo: Fix maximum arg index
Browse files Browse the repository at this point in the history
  • Loading branch information
hpjansson committed Dec 10, 2022
1 parent 37a0d9c commit 26945b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chafa/chafa-term-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ parse_seq_args (gchar *out, SeqArgInfo *arg_info, const gchar *in,
out [j++] = '%';
pre_len++;
}
else if (c >= '1' && c <= '8') /* arg # 0-7 */
else if (c >= '1' && c <= '7') /* arg # 0-6 */
{
/* "%n" -> argument n-1 */

Expand Down

0 comments on commit 26945b6

Please sign in to comment.