From 21428bad104d027d3bee58a6e3753732954897ba Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 7 Apr 2022 11:31:12 +0200 Subject: Undo most of f6a93eb that was a bad move. --- src/Fl_Message.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Message.cxx') diff --git a/src/Fl_Message.cxx b/src/Fl_Message.cxx index 09dd5692a..06c2e76f6 100644 --- a/src/Fl_Message.cxx +++ b/src/Fl_Message.cxx @@ -555,7 +555,7 @@ int Fl_Message_Box::handle(int e) { switch (e) { case FL_KEYBOARD: case FL_SHORTCUT: - if (Fl::event_key() == 'c' && (int)mods == FL_COMMAND) { + if (Fl::event_key() == 'c' && mods == FL_COMMAND) { Fl::copy(label(), int(strlen(label())), 1); return 1; } -- cgit v1.2.3