summaryrefslogtreecommitdiff
path: root/morse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'morse.cpp')
-rw-r--r--morse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/morse.cpp b/morse.cpp
index 95c5114..ae0e391 100644
--- a/morse.cpp
+++ b/morse.cpp
@@ -32,7 +32,7 @@ void transmit(const string& str)
tmp=toupper(ch);
string morse=table[tmp];
if(morse!="")
- cout << ch << ": " << flush;
+ cout << toupper(ch) << ": " << flush;
for(unsigned int j=0;j<morse.length();++j)
{
char morseCh=morse[j];