From 1bc438de6937929c5446013dab5071ba9bd258fe Mon Sep 17 00:00:00 2001
From: Puck Meerburg <puck@puckipedia.nl>
Date: Sat, 27 Dec 2014 18:00:23 +0100
Subject: [PATCH 2/3] Fix CID 1224785
---
src/bin/clipboard.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/clipboard.cpp b/src/bin/clipboard.cpp
index 87f15ca..d46ce71 100644
a
|
b
|
ClipboardApp::Copy(const char *string)
|
232 | 232 | |
233 | 233 | if (string == NULL) { |
234 | 234 | // read from standard input |
235 | | char c; |
| 235 | int c; |
236 | 236 | while ((c = fgetc(stdin)) != EOF) { |
237 | | inputString += c; |
| 237 | inputString += (char) c; |
238 | 238 | } |
239 | 239 | |
240 | 240 | string = inputString.String(); |