diff options
-rw-r--r-- | src/driver/ptyc_amain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/driver/ptyc_amain.c b/src/driver/ptyc_amain.c index d4f2b11..1021048 100644 --- a/src/driver/ptyc_amain.c +++ b/src/driver/ptyc_amain.c @@ -42,7 +42,8 @@ static ssize_t ptyc_version(struct ptyc_driver_ctx * dctx) verinfo = ptyc_source_version(); verclr = isatty(STDOUT_FILENO) ? ptyc_ver_color : ptyc_ver_plain; - return ptyc_dprintf(STDOUT_FILENO,vermsg, + return ptyc_dprintf( + STDOUT_FILENO,vermsg, verclr[0],dctx->program,verclr[1], verclr[2],verinfo->major,verinfo->minor, verinfo->revision,verclr[3], |