Skip to content

Commit 51aa10e

Browse files
author
Colum Paget
committed
v1.19
1 parent 360ab86 commit 51aa10e

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v1.19 (2024-01-15)
2+
* Don't push comment to clipboard, just code/hash.
3+
14
v1.18 (2024-01-15)
25
* Fix base32 issue
36

common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "libUseful-5/libUseful.h"
66
#include "glob.h"
77

8-
#define VERSION "1.18"
8+
#define VERSION "1.19"
99

1010
#define ACT_NONE 0
1111
#define ACT_HASH 1

hashrat.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH hashrat "1" "Jan 2015" "HASHRAT 1.18" "hashing tool supporting several hashes and recursivity"
1+
.TH hashrat "1" "Jan 2015" "HASHRAT 1.19" "hashing tool supporting several hashes and recursivity"
22
.\"Text automatically generated by txt2man
33
.SH NAME
44
\fBhashrat \fP- hashing tool supporting several hashes and recursivity

hashrat.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: hashrat
2-
Version: 1.18
2+
Version: 1.19
33
Release: 1%{?dist}
44
Summary: A hash-generation utility
55

output.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ void OutputHash(HashratCtx *Ctx, const char *Hash, const char *Comment)
207207
Tempstr=MCopyStr(Tempstr, p_Hash, " ", Comment, "\n", NULL);
208208
STREAMWriteString(Tempstr, Ctx->Out);
209209

210-
if (Flags & FLAG_CLIPBOARD) OutputToClipboard(Ctx, Tempstr);
211-
else if (Flags & FLAG_XSELECT) OutputXtermSelect(Ctx, Tempstr);
210+
if (Flags & FLAG_CLIPBOARD) OutputToClipboard(Ctx, p_Hash);
211+
else if (Flags & FLAG_XSELECT) OutputXtermSelect(Ctx, p_Hash);
212212

213-
if (Flags & FLAG_QRCODE) OutputQRCode(Ctx, Tempstr);
213+
if (Flags & FLAG_QRCODE) OutputQRCode(Ctx, p_Hash);
214214

215215
Destroy(Reformatted);
216216
Destroy(Tempstr);

0 commit comments

Comments
 (0)