Skip to content

Commit

Permalink
v1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Colum Paget committed Jan 15, 2024
1 parent 360ab86 commit 51aa10e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.19 (2024-01-15)
* Don't push comment to clipboard, just code/hash.

v1.18 (2024-01-15)
* Fix base32 issue

Expand Down
2 changes: 1 addition & 1 deletion common.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "libUseful-5/libUseful.h"
#include "glob.h"

#define VERSION "1.18"
#define VERSION "1.19"

#define ACT_NONE 0
#define ACT_HASH 1
Expand Down
2 changes: 1 addition & 1 deletion hashrat.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH hashrat "1" "Jan 2015" "HASHRAT 1.18" "hashing tool supporting several hashes and recursivity"
.TH hashrat "1" "Jan 2015" "HASHRAT 1.19" "hashing tool supporting several hashes and recursivity"
.\"Text automatically generated by txt2man
.SH NAME
\fBhashrat \fP- hashing tool supporting several hashes and recursivity
Expand Down
2 changes: 1 addition & 1 deletion hashrat.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: hashrat
Version: 1.18
Version: 1.19
Release: 1%{?dist}
Summary: A hash-generation utility

Expand Down
6 changes: 3 additions & 3 deletions output.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ void OutputHash(HashratCtx *Ctx, const char *Hash, const char *Comment)
Tempstr=MCopyStr(Tempstr, p_Hash, " ", Comment, "\n", NULL);
STREAMWriteString(Tempstr, Ctx->Out);

if (Flags & FLAG_CLIPBOARD) OutputToClipboard(Ctx, Tempstr);
else if (Flags & FLAG_XSELECT) OutputXtermSelect(Ctx, Tempstr);
if (Flags & FLAG_CLIPBOARD) OutputToClipboard(Ctx, p_Hash);
else if (Flags & FLAG_XSELECT) OutputXtermSelect(Ctx, p_Hash);

if (Flags & FLAG_QRCODE) OutputQRCode(Ctx, Tempstr);
if (Flags & FLAG_QRCODE) OutputQRCode(Ctx, p_Hash);

Destroy(Reformatted);
Destroy(Tempstr);
Expand Down

0 comments on commit 51aa10e

Please sign in to comment.