Skip to content

Commit

Permalink
Prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackadays committed Feb 15, 2023
1 parent dd20b27 commit f2ce16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clipboard/src/clipboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ std::string pipedInContent() {
while (len != 0) {
len = read(fileno(stdin), buffer.data(), buffer.size());
content.append(buffer.data(), len);
successes.bytes.store(successes.bytes.load(std::memory_order_relaxed) + len, std::memory_order_relaxed);
successes.bytes += len;
}
#elif defined(_WIN32) || defined(_WIN64)
HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE);
Expand Down

0 comments on commit f2ce16e

Please sign in to comment.